I have a 16-bit address in the A register. I need to make a long jump to this address, however it seems there is no way to do this with assembly code. By looking at some assembly produced by Keil, when they want to do this type of jump then end up doing:
LJMP ?C?ICALL
If you speak about the 51th controller and you need to make a jump to an explicit 16-bit address, you may load this address into DPTR (DPH, DPL), clear your accumulator and use JMP @A+DPTR. Michael.
Thanks!
View all questions in Keil forum