>> mov upper(t_base),tblptru ;table base address <23:16> > er, not quite right... > > should be: > > movlw upper(t_base) > movwf tblptru mov macro litval,file movlw litval movwf file endm cf MOV Wn,f of newer PICs or MOVLF wbr, Joe -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist