Download Hitachi Single-Chip Microcomputer H8/3102 HD6483102 User`s
Transcript
2.5.7 System Control Instructions Table 2-10 describes the system control instructions. Table 2-10. System Control Instructions Instruction RTE SLEEP LDC Size — — B STC B ANDC B ORC B XORC B NOP — Function Returns from an exception-handling routine. Causes a transition to the power-down state. 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. Note: * Size: operand size B: Byte Figure 2-9 shows the object code formats of the system control instructions. 15 8 7 0 op 15 8 RTE, SLEEP, NOP 7 0 op 15 rn 8 op 7 LDC, STC (Rn) 0 IMM ANDC, ORC, XORC, LDC (#xx:8) Notation: op: rn: IMM: Operation field Register field Immediate data Figure 2-9. System Control Instruction Object Code Formats 31