Choosing where to write program memory

Discuss the Integrated Development Environment (IDE)

Moderators: David Barker, Jerry Messina

Post Reply
NotHed
Posts: 1
Joined: Mon Apr 13, 2009 5:48 pm
Location: Galapagos Islands

Choosing where to write program memory

Post by NotHed » Mon Apr 13, 2009 5:59 pm

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?

Post Reply