Datasheet

Section 2 CPU
Rev. 8.00 Mar. 09, 2010 Page 52 of 658
REJ09B0042-0800
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
Note: * Size: Operand size
B: Byte