Jim, This problem was reported in beta testing for MPLAB-SIM. The latest released version on the BBS (MPLAB 3.01) solves this problem. If you want to wait until next week, we'll be posting a new version of MPLAB-SIM which has some additional fixes and fine tunings. Darrel Johansen ______________________________ Reply Separator _________________________________ Subject: Re: MPLAB bug? HELP!!! Author: Newfound Electronics at Internet_Exchange Date: 5/29/96 4:24 PM Hi all, 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. A zero offset ends up in an infinite loop!!?? I'm sure I knew how this all worked but after using MPLAB, I am confused and have a king size headache! Am I bugged or is it MPLAB? Also, the RETLW instruction description "example" for all the PICs I checked appears to describe the table jump operation incorrectly. TABLE ADDWF PC RETLW K1 RETLW K2 " " RETLW Kn w = 0x07 should return K8 NOT k7, right? This is just to confuse me more I guess.... Jim