You are here : assembly8051AJMP

AJMP - 8051

The AJMP instruction transfers program execution to the specified address. The address is formed by combining the 5 high-order bits of the address of the following instruction (for A15-A11), the 3 high-order bits of the opcode (for A10-A8), and the second byte of the instruction (for A7-A0). The destination address must be located in the same 2KByte block of program memory as the opcode following the AJMP instruction. No flags are affected.


Syntax

AJMP Address


Example

;Jumps Program Execution to Label
AJMP Label	;2 bytes 2 cycles


Output / Return Value


Limitations


Alternatives / See Also


Reference