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

another code reloation question

Hi,

I want to have my entire program, including all of the setup from startup.a51 to begin at 8000h. I read the very helpful 189.htm and followed those instructions.

The linker places everything above 8000h, except the initial LCALL STARTUP1 call. It has been placed at 1F40h. ???

When I setup the target so that everything is placed at 0000h, LJMP STARTUP1 is at the first address 0000h. But if I try and move everything to 8000h, this call is not at the beginning and is below my starting address.

Any help is greatly appreciated.

0