> On Tue, Mar 03, 1998 at 07:04:35PM -0400, Bob Smith x31105 wrote: > > for this beasty leaves me with the belief that I can't use ROM address > > space for data?!?! somebody tell me I'm blind and haven't read the > > correct page! > You're very nearly right; data tables on a mid-range PIC are implemented > as RETLW tables, indexed by an addwf PCL. For example: > table addwf pcl > retlw 1 > retlw 2 Best set PCLATH too ie.: table movlw HIGH table movwf PCLATH addwf pcl, f retlw 1 etc. If you don't, and PCLATH doesn't point to the same 256 byte page as the table, your program will be lost... Now how did I find that out? Orin.