2.5.7
System Control Instructions
Table 2-10 describes the system control instructions. Figure 2-9 shows their object code formats.
Table 2-10 System Control Instructions
Instruction
RTE
Size*
—
Function
Returns from an exception-handling routine
SLEEP
—
Causes a transition from active mode to a power-down mode. See
section 5, Power-Down Modes, for details.
LDC
B
Rs → CCR, #IMM → CCR
Moves immediate data or general register contents to the condition
code register
STC
B
B
B
B
CCR → Rd
Copies the condition code register to a specified general register
CCR #IMM → CCR
ANDC
ORC
Logically ANDs the condition code register with immediate data
CCR #IMM → CCR
Logically ORs the condition code register with immediate data
CCR #IMM → CCR
XORC
Logically exclusive-ORs the condition code register with immediate
data
NOP
—
PC + 2 → PC
Only increments the program counter
Notes: * Size:Operand size
B: Byte
41