Rev. 1.0, 09/02, page 35 of 568
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 general register or memory contents 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 XORs the CCR or EXR contents with immediate data.
NOP
PC + 2
→
PC
Only increments the program counter.
Note:
*
Refers to the operand size.
B:
Byte
W:
Word
Содержание H8S/2627
Страница 22: ...Rev 1 0 09 02 page xx of xxxvi Index 565 ...
Страница 30: ...Rev 1 0 09 02 page xxviii of xxxiv ...
Страница 36: ...Rev 1 0 09 02 page xxxiv of xxxiv Table 23 9 Flash Memory Characteristics 561 ...
Страница 82: ...Rev 1 0 09 02 page 46 of 568 ...
Страница 88: ...Rev 1 0 09 02 page 52 of 568 ...
Страница 98: ...Rev 1 0 09 02 page 62 of 568 ...
Страница 156: ...Rev 1 0 09 02 page 120 of 568 ...
Страница 390: ...Rev 1 0 09 02 page 354 of 568 ...
Страница 480: ...Rev 1 0 09 02 page 444 of 568 ...
Страница 512: ...Rev 1 0 09 02 page 476 of 568 ...
Страница 527: ...Rev 1 0 09 02 page 491 of 568 21 8 5 Writing to MSTPCR MSTPCR should only be written to by the CPU ...
Страница 528: ...Rev 1 0 09 02 page 492 of 568 ...
Страница 580: ...Rev 1 0 09 02 page 544 of 568 ...