Newfound Electronics wrote: > I've been trying to use MPLAB and have ended up very confused! > What is the real result of this operation? > > MOVLW 01 > ADDWF PC,SAME > RETLW 0AH > RETLW 0Eh > > MPLAB insists on jumping to the first RETLW 0Ah. I reckon it's wrong > and plug for the second RETLW 0Eh. > .... > Am I bugged or is it MPLAB? Jim: Check to make sure that you've defined "SAME" to "1". If so, the bug is in MPLAB. > TABLE ADDWF PC > RETLW K1 > RETLW K2 > " " > RETLW Kn > > w = 0x07 should return K8 NOT k7, right? Right. -Andy Andrew Warren - fastfwd@ix.netcom.com Fast Forward Engineering, Vista, California http://www.geocities.com/SiliconValley/2499