Ok, it looks like the code is trying to goto 0xa34 in the attached file.
It gets to 0x091C - MOVWF PCL, ACCESS and resets the PIC.
Here are the values for PC:
Code:
Update Address Symbol Name Value Binary Char
FE8 WREG 0x34 00110100 '4'
FF9 PCL 0x1C 00011100 '.'
FF9 PCLAT 0x0A341C 00001010 00110100 00011100 '.4.'
FFA PCLATH 0x34 00110100 '4'
FFB PCLATU 0x0A 00001010 '.'
The code should be going to 0x0A34 but instead resets...It never actually moves the 0x34 from Wreg into the PCL.
Any thoughts?
Thanks
Tom
Bookmarks