UM012811-0904
eZ8 CPU Instruction Set Summary
eZ8 CPU
User Manual
42
Table 18. Program Control Instructions
Mnemonic
Operands
Instruction
BRK
—
On-Chip Debugger Break
BTJ
p, bit, src, DA
Bit Test and Jump
BTJNZ
bit, src, DA
Bit Test and Jump if Non-Zero
BTJZ
bit, src, DA
Bit Test and Jump if Zero
CALL
dst
Call Procedure
DJNZ
dst, dst, RA
Decrement and Jump Non-Zero
IRET
—
Interrupt Return
JP
dst
Jump
JP cc
dst
Jump Conditional
JR
DA
Jump Relative
JR cc
DA
Jump Relative Conditional
RET
—
Return
TRAP
vector
Software Trap
Table 19. Rotate and Shift Instructions
Mnemonic
Operands
Instruction
BSWAP
dst
Bit Swap
RL
dst
Rotate Left
RLC
dst
Rotate Left through Carry
RR
dst
Rotate Right
RRC
dst
Rotate Right through Carry
SRA
dst
Shift Right Arithmetic
SRL
dst
Shift Right Logical
SWAP
dst
Swap Nibbles