System Control Instructions - Hitachi H8/3937 Series Hardware Manual

Table of Contents

Advertisement

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*
RTE
SLEEP
LDC
B
STC
B
ANDC
B
ORC
B
XORC
B
NOP
Notes: * Size: Operand size
B:
Byte
Function
Returns from an exception-handling routine
Causes a transition from active mode to a power-down mode. See
section 5, Power-Down Modes, for details.
Rs → CCR, #IMM → CCR
Moves immediate data or general register contents to the condition
code register
CCR → Rd
Copies the condition code register to a specified general register
CCR ∧ #IMM → CCR
Logically ANDs the condition code register with immediate data
CCR ∨ #IMM → CCR
Logically ORs the condition code register with immediate data
CCR ⊕ #IMM → CCR
Logically exclusive-ORs the condition code register with immediate
data
PC + 2 → PC
Only increments the program counter
39

Advertisement

Table of Contents
loading

Table of Contents