Rev. 6.00, 08/04, page 522 of 628
Mnemonic
Operation
I
H N Z V C
JSR @Rn
SP
−
2
→
SP
2
6
PC
→
@SP
PC
←
Rn16
JSR @aa:16
SP
−
2
→
SP
4
8
PC
→
@SP
PC
←
aa:16
JSR @@aa:8
SP
−
2
→
SP
2
8
PC
→
@SP
PC
←
@aa:8
RTS
PC
←
@SP
2
8
SP+2
→
SP
RTE
CCR
←
@SP
2
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
10
SP+2
→
SP
PC
←
@SP
SP+2
→
SP
SLEEP
Transit to sleep mode.
2
2
LDC #xx:8, CCR
B #xx:8
→
CCR
2
2
LDC Rs, CCR
B Rs8
→
CCR
2
2
STC CCR, Rd
B CCR
→
Rd8
2
2
ANDC #xx:8, CCR
B CCR
∧
#xx:8
→
CCR
2
2
ORC #xx:8, CCR
B CCR
∨
#xx:8
→
CCR
2
2
XORC #xx:8, CCR
B CCR
⊕
#xx:8
→
CCR
2
2
NOP
PC
←
PC+2
2
2
EEPMOV
if R4L
≠
0
4
(4)
Repeat @R5
→
@R6
R5+1
→
R5
R6+1
→
R6
R4L
−
1
→
R4L
Until R4L=0
else next;
Notes: (1) Set to 1 when there is a carry or borrow from bit 11; otherwise cleared to 0.
(2) If the result is zero, the previous value of the flag is retained; otherwise the flag is cleared to 0.
(3) Set to 1 if decimal adjustment produces a carry; otherwise retains value prior to arithmetic operation.
(4) The number of states required for execution is 4n + 9 (n = value of R4L). 4n + 8 for HD64F38024,
H8/38024S Group, and H8/38124 Group.
(5) Set to 1 if the divisor is negative; otherwise cleared to 0.
(6) Set to 1 if the divisor is zero; otherwise cleared to 0.
#xx: 8/16
Rn
@Rn
@(d:16, Rn)
@
−
Rn/@Rn+
@aa: 8/16
@(d:8, PC)
@@aa
Implied
No. of States
Addressing Mode/
Instruction Length (bytes)
Condition Code
Operand Size
Содержание H8/38024 Series
Страница 18: ...Rev 6 00 08 04 page xviii of xxx...
Страница 30: ...Rev 6 00 08 04 page xxx of xxx...
Страница 130: ...Rev 6 00 08 04 page 100 of 628...
Страница 216: ...Rev 6 00 08 04 page 186 of 628...
Страница 416: ...Rev 6 00 08 04 page 386 of 628...
Страница 432: ...Rev 6 00 08 04 page 402 of 628...
Страница 468: ...Rev 6 00 08 04 page 438 of 628...
Страница 661: ...H8 38024 H8 38024S H8 38024F ZTAT H8 38124 Group Hardware Manual...