Page 1 of 1

Choosing where to write program memory

Posted: Mon Apr 13, 2009 5:59 pm
by NotHed
I am trying to write some code to check the Program Counter Latches for microelectronic failure. The method that I plan on using is to write to the latches and then when the PC jumps to a new place in memory the code will be there. I tried to use the org directive in assembly, and the disassembly view window in mplab indicates that the program data are not where my org statement told them to be. I do not want to change the location of the whole program just put a few lines of code in a few different places in rom; does anyone have any idea about how to do this with swordfish?