<< Previous | Next >>

SURES     System/User Register Reset     Rabbit 3000A/4000/5000 Instruction

Opcode
Instruction
Operation
ED 7D SURES SU = {SU[1:0],SU[7:2]}

8-Bit Access
16-Bit Unaligned
16-Bit Aligned
Rabbit 3000A/4000
4
n/a
n/a
Rabbit 5000
4
4
2

Flags ALTD IOI/IOE
S
Z
L/V
C
F
R
SP
S
D
-
-
-
-

Description

"Pops" the current mode off the SU register, returning the processor mode to the previous mode by rotating SU two bits to the right.

This is a chained-atomic instruction, meaning that an interrupt cannot take place between this instruction and the instruction following it.


Rabbit Instructions << Previous | Next >> rabbit.com