39
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
Size
*
Function
RTE
—
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
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
Notes:
*
Size: Operand size
B:
Byte