Rev. 2.0, 11/00, page 41 of 1037
Table 2.9
System Control Instructions
Instruction
Size
*
Function
TRAPA
Starts trap-instruction exception handling
RTE
Returns from an exception-handling routine
SLEEP
Causes a transition to a power-down state
LDC
B/W
(EAs)
→
CCR, (EAs)
→
EXR
Moves contents of a general register or memory or immediate
data to CCR or EXR. Although CCR and EXR are 8-bit
registers, word-size transfers are performed between them and
memory. The upper 8 bits are valid
STC
B/W
CCR
→
(EAd), EXR
→
(EAd)
Transfers CCR or EXR contents to a general register or
memory. Although CCR and EXR are 8-bit registers, word-size
transfers are performed between them and memory. The upper
8 bits are valid
ANDC
B
CCR
∧
#IMM
→
CCR, EXR
∧
#IMM
→
EXR
Logically ANDs the CCR or EXR contents with immediate data
ORC
B
CCR
∨
#IMM
→
CCR, EXR
∨
#IMM
→
EXR
Logically ORs the CCR or EXR contents with immediate data
XORC
B
CCR
⊕
#IMM
→
CCR, EXR
⊕
#IMM
→
EXR
Logically exclusive-ORs the CCR or EXR contents with
immediate data
NOP
PC + 2
→
PC
Only increments the program counter
Note:
*
Size refers to the operand size.
B:
Byte
W:
Word
Summary of Contents for Hitachi H8S/2191
Page 123: ...Rev 2 0 11 00 page 96 of 1037...
Page 149: ...Rev 2 0 11 00 page 122 of 1037...
Page 197: ...Rev 2 0 11 00 page 170 of 1037...
Page 247: ...Rev 2 0 11 00 page 220 of 1037...
Page 249: ...Rev 2 0 11 00 page 222 of 1037...
Page 347: ...Rev 2 0 11 00 page 320 of 1037...
Page 357: ...Rev 2 0 11 00 page 330 of 1037...
Page 417: ...Rev 2 0 11 00 page 390 of 1037...
Page 431: ...Rev 2 0 11 00 page 404 of 1037...
Page 439: ...Rev 2 0 11 00 page 412 of 1037...
Page 457: ...Rev 2 0 11 00 page 430 of 1037...
Page 525: ...Rev 2 0 11 00 page 498 of 1037...
Page 543: ...Rev 2 0 11 00 page 516 of 1037...
Page 845: ...Rev 2 0 11 00 page 818 of 1037...