Hi, Arthur Brown wrote: >I did not see original post but your code is wrong by the following > >; pointer table >MENU_PTR_TABLE > DW MENU0 ;one word > DW MENU1 ;one word > >;now you are using arrays? or at least two values low/high >; pointer table >MENU_PTR_TABLE > DW LOW(MENU0),HIGH(MENU0) ;Array two words [low(memu0,high(menu)] > DW LOW(MENU1),HIGH(MENU1) ;Array two words > >Please forgive if I have it wrong I blame the beer FullTank > >Re: GARDS Art. Well as my original post, the snippet is intended to be used for an 1 byte index of strings/menudefs/etc. The problem I had was that the code: DW LOW(MENU0),HIGH(MENU0) = did not even compile even thought the label MENU0 is defined. However the code DW MENU0 = does compile. I know about the one byte vs. one word ( i.e two bytes ) issue in using DW instead of DB but still cant really figure out why the first doesn't work while the second one does. My guess it must be the linker/assembler, particulary in the way it handles LOW(xxx) or HIGH(xxx). /Tony Tony K=FCbek, Flintab AB = =B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2= =B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2= =B2=B2=B2=B2=B2=B2=B2=B2=B2=B2 E-mail: tony.kubek@flintab.com =B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2= =B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2=B2= =B2=B2=B2=B2=B2=B2=B2=B2=B2=B2 -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads