Section 2 CPU
Rev. 6.00 Aug 04, 2006 page 67 of 680
REJ09B0145-0600
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
Summary of Contents for H8/38342
Page 8: ...Rev 6 00 Aug 04 2006 page vi of xxxvi...
Page 12: ...Rev 6 00 Aug 04 2006 page x of xxxvi...
Page 38: ...Rev 6 00 Aug 04 2006 page xxxvi of xxxvi...
Page 76: ...Section 1 Overview Rev 6 00 Aug 04 2006 page 38 of 680 REJ09B0145 0600...
Page 240: ...Section 7 RAM Rev 6 00 Aug 04 2006 page 202 of 680 REJ09B0145 0600...
Page 468: ...Section 12 A D Converter Rev 6 00 Aug 04 2006 page 430 of 680 REJ09B0145 0600...
Page 580: ...Section 15 Electrical Characteristics Rev 6 00 Aug 04 2006 page 542 of 680 REJ09B0145 0600...