56. EIJMP – Extended Indirect Jump
56.1. Description
Indirect jump to the address pointed to by the Z (16 bits) Pointer Register in the Register File and the
EIND Register in the I/O space. This instruction allows for indirect jumps to the entire 4M (words)
Program memory space. See also IJMP.
This instruction is not available in all devices. Refer to the device specific instruction set summary.
Operation:
(i) PC(15:0) ← Z(15:0)
PC(21:16) ← EIND
Syntax: Operands: Program Counter: Stack:
(i) EIJMP None See Operation Not Affected
16-bit Opcode:
1001 0100 0001 1001
56.2. Status Register (SREG) and Boolean Formula
I T H S V N Z C
– – – – – – – –
Example:
ldi r16,$05 ; Set up EIND and Z-pointer
out EIND,r16
ldi r30,$00
ldi r31,$10
eijmp ; Jump to $051000
Words 1 (2 bytes)
Cycles 2
Atmel AVR Instruction Set Manual [OTHER]
Atmel-0856L-AVR-Instruction-Set-Manual_Other-11/2016
88