>>> 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 I can see calling such a macro MOVLF, but MOV is just asking for trouble. And actually, I don't like either because they hide the fact that W is being trashed. -- Bob Ammerman RAm Systems -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist