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

relocate program

I relocate the program to starting from 0x1000, by using BL51 MYPROG.OBJ CODE(1000h)
It reloactes the code to 1000h successfully, but there is always a ljmp 1000h remains in 0000h.
I have some code there, at 0000h already, before loading MYPROG. So the redundent ljmp code will make the loading failed.

How to get rid of this ljmp 1000h without manualy erase the machine code?