Zilog Z16F2810 User Manual
Page 129

UM018809-0611
JPA Instruction
ZNEO
®
CPU Core
User Manual
113
JPA
Definition
Jump Absolute
Syntax
JP dst
Operation
PC
dst
Description
JPA replaces the contents of the Program Counter with the 32-bit immediate operand. Program
control then passes to the instruction addressed by the Program Counter.
If the immediate operand is odd, the least significant bit is discarded so that the call destination
address is always an even number.
The JPA instruction is used to explicitly invoke the 32-bit immediate jump opcode in situations
when a fixed opcode size is desired, such as a jump table.
Flags
Flags are not affected by this instruction.
Syntax and Opcodes
Example
Before:
PC=0000_044EH
JPA 00352920H
;Object Code: F230 0035 2920
After:
PC=0035_2920
Instruction, Operands
Word 0
Word 1
Word 2
JPA imm32
F230H
imm[31:16]
imm[15:0]