8XC251SA, SB, SP, SQ USER’S MANUAL
A-8
Table A-12. PUSH/POP Instructions
Instruction Byte 0(x) Byte 1 Byte 2 Byte 3
PUSH #data C A 0000 0010 #data
PUSH #data16 C A 0000 0110 #data16 (high) #data16 (low)
PUSH Rm C A m 1000
PUSH WRj C A j/2 1001
PUSH DRk C A k/4 1011
MOV DRk,PC C A k/4 0001
POP Rm D A m 1000
POP WRj D A j/2 1001
POP DRk D A k/4 1011
Table A-13. Control Instructions
Instruction Byte 0(
x
) Byte 1 Byte 2 Byte 3
EJMP addr24 8 A addr[23:16] addr[15:8] addr[7:0]
ECALL addr24 9 A addr[23:16] addr[15:8] addr[7:0]
LJMP @WRj 8 9 j/2 0100
LCALL @WRj 9 9 j/2 0100
EJMP @DRk 8 9 k/4 1000
ECALL @DRk 9 9 k/4 1000
ERET A A
JE rel 8 8 rel
JNE rel 7 8 rel
JLE rel 2 8 rel
JG rel 3 8 rel
JSL rel 4 8 rel
JSGE rel 5 8 rel
JSLE rel 0 8 rel
JSG rel 1 8 rel
TRAP B 9