This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Copying code from ROM to RAM for execution

I have to copy some code from ROM to RAM for execution. I'm using A51 and BL51.

I need part of the code to 'assemble' such that the bytes are located in the ROM area to copy it, but 'compile' such that the addresses reflect the target addresses that it will be copied to.

I don't see commands in the assembler or linker that will let me do this.

If there are commands, please let me know, or if someone has jury-rigged an alternate method, I'd appreciate it.

0