I'm pretty sure this is a known bug in the simulator? Anybody know for sure? Bob Ammerman RAm Systems ----- Original Message ----- From: "wouter van ooijen & floortje hanneman" To: Sent: Wednesday, June 19, 2002 11:47 PM Subject: [PIC]: next 18F question > 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 > -- > Van Ooijen Technische Informatica: http://www.voti.nl > Jal compiler, Wisp programmer, WLoader bootloader, PICs kopen > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu > > > -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu