On Sun, 24 Sep 2000 09:13:31 -0400 Bob Ammerman writes: > > > I would recommend the use of the CBLOCK/ENDC pair to declare file > (RAM) > variables when writing PIC asm code: > > CBLOCK 0xSOMETHING > > var1,var2 > var3 > > ENDC > Of course, a nice thing about cblock is that the 0xsomething is optional. I put an empty cblock with a 0xsomething at the top of my code to define the start of user ram. From there on out I let the assembler assign ram space by using cblock without a specified address. It just uses the next address. This is a lot nicer than all the EQU statements in Microchip's sample code! Harold FCC Rules Online at http://www.hallikainen.com/FccRules/ ________________________________________________________________ YOU'RE PAYING TOO MUCH FOR THE INTERNET! Juno now offers FREE Internet Access! Try it today - there's no risk! For your FREE software, visit: http://dl.www.juno.com/get/tagj. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! use mailto:listserv@mitvma.mit.edu?body=SET%20PICList%20DIGEST