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

Putting code at specific loaction in Assembly file

I want to put the code written in assembly file at specific location say 0x5000. Can someone give me procedure with proper example for doing the same code?
I have checked using "AREA" directive, but unable to find how to specify the address in it.

Parents
  • Why, seems to be trying to do unnecessarily complex things with a skill set that doesn't support the task. Start by mastering the simpler tasks before tackling the complex ones.

    Consider using a linker script (scatter file) to control code placement in regions of memory.

Reply
  • Why, seems to be trying to do unnecessarily complex things with a skill set that doesn't support the task. Start by mastering the simpler tasks before tackling the complex ones.

    Consider using a linker script (scatter file) to control code placement in regions of memory.

Children