Operations:

Syntax:

Operation:

Operands:

Program Counter:

Opcode

Comment:

Stack:

IJMP

PC = Z(15:0)

None

See Operation

1001010000001001

Devices with 16-bit PC, 128 KB program memory maximum.

Not Affected

IJMP

PC(15:0) = Z(15:0)

PC(21:16) = 0

None

See Operation

1001010000001001

Devices with 22-bit PC, 8 MB program memory maximum.

Not Affected

Description

Indirect jump to the address pointed to by the Z (16-bit) Pointer Register in the Register File. The Z-Pointer Register is 16 bits wide and allows jump within the lowest 64K words (128 KB) section of program memory.

This instruction is not available on all devices. Refer to Appendix A.

Status Register (SREG) and Boolean Formula

I

T

H

S

V

N

Z

C

Example:

      mov   r30,r0  ; Set offset to jump table
      ijmp          ; Jump to routine pointed to by r31:r30

Words

1 (2 bytes)

Table Cycles

Name

Cycles

AVRe

2

AVRxm

2

AVRxt

2

AVRrc

2