• branch to absolute address
    I wrote a piece of code running in 8051 microcontroller. The code is to write another piece of code to memory starting from, say, 0x1234. After this is done, it will jump to address 0x1234 to execute...
  • branch to absolute address
    I wrote a piece of code running in 8051 microcontroller. The code is to write another piece of code to memory starting from, say, 0x1234. After this is done, it will jump to address 0x1234 to execute...
  • 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...
  • 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...
  • Replacing branch-instruction with address assignment to PC
    Hi, in a thumb-assembly file (my toolchain is gcc 4.8), I want to replace a branch with address assignment to the program-counter. So instead of: b lbl I want to have something like: pc = address(lbl...