On Tue, 16 Apr 2002 14:03:22 -0600, Dwayne Reid wrote: >Best check your definitions, Wouter. > >Microchip changed things a few years back - PC got changed to PCL. The >high byte register is PCLATH. > >PC and PCL refer to the same thing: the lower byte of the Program = Counter >located at address 0x02. Any write to PCL (also known as PC) takes 2 = clock >cycles to execute. If the simulator does not reflect this, the = simulator >is broken and Microchip needs to be told about it so they can fix it. > Maybe I didn't check it correctly. A 'movlw low($+5)' followed by a 'movwf PCL' results in the jump occurring and the stopwatch window indicating that 1 cycle was used. >Bob - the 2 cycle execution time of any instruction where PCL is = modified >is talked about in the instruction set summary portion of the data >sheet. For the 16F87x series, that is page 135 of document DS30292C > Thanks, I thought I had read that somewhere. I had just forgotten where. Regards, Bob -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu