Simulator bug. We'll get it fixed in v5.70. > The 18FXX8 datasheet states (4.4 last sentence) that, upon reading PCL, the > higher bits of the program counter will be transferred to PCLATU and PCLATH. > But I do not see this happening in the MPLAB simulator. Should I believe the > datasheet or the simulator? > > Simple test program: > > ORG 0 > GOTO test > ORG H'1234' > test: > movf h'ff9', w > movwf h'ff9' > > Wouter van Ooijen -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu