Stewart Pye wrote: > > I know you can define bytes in rom using the db command, > What is the best way to access these??? > ( I'm lost without a data pointer!! ) An easier way to implement lookup tables is in Microchip Application Note 556. The simplified version is copied below, but read the App. Note for the full scoop. == BEGIN CODE == . movlw offset ;load offset in w reg call Table . . . Table: addwf pcl ;add offset to pc to ;generate a computed goto retlw 'A' ;return the ASCII char A retlw 'B' ;return the ASCII char B retlw 'C' ;return the ASCII char C . . == END CODE == Regards, Roy Tate roytate@ionet.net http://www.ionet.net/~roytate