Section 2 CPU
Rev. 3.00 Mar. 14, 2006 Page 52 of 804
REJ09B0104-0300
Table 2.11 System Control Instructions
Instruction Size Function
TRAPA
Starts
trap-instruction exception handling.
RTE
Returns from an exception-handling routine.
RTE/L
Returns from an exception-handling routine, restoring data from the stack
to multiple general registers.
SLEEP
Causes a transition to a power-down state.
B/W #IMM
→
CCR, (EAs)
→
CCR, #IMM
→
EXR, (EAs)
→
EXR
Loads immediate data or the contents of a general register or a memory
location to CCR or EXR.
Although CCR and EXR are 8-bit registers, word-size transfers are
performed between them and memory. The upper 8 bits are valid.
LDC
L Rs
→
VBR, Rs
→
SBR
Transfers the general register contents to VBR or SBR.
B/W CCR
→
(EAd), EXR
→
(EAd)
Transfers the contents of CCR or EXR to a general register or memory.
Although CCR and EXR are 8-bit registers, word-size transfers are
performed between them and memory. The upper 8 bits are valid.
STC
L VBR
→
Rd, SBR
→
Rd
Transfers the contents of VBR or SBR to a general register.
ANDC B
CCR
∧
#IMM
→
CCR, EXR
∧
#IMM
→
EXR
Logically ANDs the CCR or EXR contents with immediate data.
ORC B
CCR
∨
#IMM
→
CCR, EXR
∨
#IMM
→
EXR
Logically ORs the CCR or EXR contents with immediate data.
XORC B CCR
⊕
#IMM
→
CCR, EXR
⊕
#IMM
→
EXR
Logically exclusive-ORs the CCR or EXR contents with immediate data.
NOP
PC
+
2
→
PC
Only increments the program counter.
electronic components distributor