35
2.5.7
System Control Instructions
Table 2.10 describes the system control instructions.
Table 2.10
System Control Instructions
Instruction
Size*
Function
RTE
—
Returns from an exception-handling routine.
SLEEP
—
Causes a transition to the power-down state.
LDC
B
Rs
→
CCR, #IMM
→
CCR
Moves immediate data or general register contents to the condition
code register.
STC
B
CCR
→
Rd
Copies the condition code register to a specified general register.
ANDC
B
CCR
∧
#IMM
→
CCR
Logically ANDs the condition code register with immediate data.
ORC
B
CCR
∨
#IMM
→
CCR
Logically ORs the condition code register with immediate data.
XORC
B
CCR
⊕
#IMM
→
CCR
Logically exclusive-ORs the condition code register with immediate
data.
NOP
—
PC + 2
→
PC
Only increments the program counter.
Note: * Size: Operand size
B: Byte