On Fri, 19 Sep 1997, Lawrence Lile wrote: > > You have to begin CBLOCK at an available file address. the '620's > first available address is 0x0d, on the '54 it is 0x07. > > TRY: > > cblock 0X20 ;(Or whatever the first > ; available general purpose register > ;is) > TEST > COUNTER1 > ENDC > > > Best Regards, > > Lawrence Lile > I've found a slightly different approach to be somewhat more portable. I keep headers for each different pic that I use in their own seperate dirs, ie: c:\code\16f84\reg.h c:\code\16c54\reg.h In the reg.h I'll define a variable called "FirstRam", then I just include the reg.h from the correct directory. My first cblock statement becomes: cblock FirstRam ... bunch_of_variables ... endc Using this method you can easily use the same code on different processors. Then just make sure you get the correct reg.h file, and handle all tris/option/memory differences approriatly. -Shane.