Hi,
Charles I am not sure if I understood your question actually ? Here is a portion from the PBP library.
Code:
ifdef LOADER_USED
LIST
ORG RESET_ORG + 8 ; Make sure no library code in first 4 locs
NOLIST
endif
Rather than having a reset vector at 0x0000 PBP/MCS offsets this. Interesting to know this coincides with the int vector which is followed by NOP inserted by PBP. So when you are actually using interrupts this is replaced by a goto to your interrupt routine. I think that all this is according to how your code is laid out. The microcode loader on startup from the reset vector tries to handshake and if found just starts programming your PIC without ever touching the first 4 locations. So I think it may be location 0x0005 where you need to jump. Better decompile your hex and take a peek.
Bookmarks