English
Language : 

HD6413007F20 Datasheet, PDF (650/798 Pages) Renesas Technology Corp – Hardware Manual Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Series
Appendix A Instruction Set
7. System control instructions
Addressing Mode and
Instruction Length (bytes)
No. of
States*1
Mnemonic
TRAPA #x:2
⎯
RTE
⎯
SLEEP
⎯
LDC #xx:8, CCR
LDC Rs, CCR
LDC @ERs, CCR
LDC @(d:16, ERs),
CCR
LDC @(d:24, ERs),
CCR
LDC @ERs+, CCR
B2
B
2
W
4
W
6
W
10
W
4
LDC @aa:16, CCR W
LDC @aa:24, CCR W
STC CCR, Rd
B
STC CCR, @ERd W
STC CCR, @(d:16, W
ERd)
STC CCR, @(d:24, W
ERd)
STC CCR, @–ERd W
6
8
2
4
6
10
4
STC CCR, @aa:16 W
6
STC CCR, @aa:24 W
8
ANDC #xx:8, CCR B 2
ORC #xx:8, CCR
B2
XORC #xx:8, CCR B 2
NOP
⎯
Condition Code
Operation
I HNZVC
2 PC → @–SP
CCR → @–SP
<vector> → PC
1 ⎯ ⎯ ⎯ ⎯ ⎯ 14 16
CCR ← @SP+
10
PC ← @SP+
Transition to powerdown ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ 2
state
#xx:8 → CCR
2
Rs8 → CCR
2
@ERs → CCR
6
@(d:16, ERs) → CCR
8
@(d:24, ERs) → CCR
12
@ERs → CCR
8
ERs32+2 → ERs32
@aa:16 → CCR
8
@aa:24 → CCR
10
CCR → Rd8
⎯⎯⎯⎯⎯⎯ 2
CCR → @ERd
⎯⎯⎯⎯⎯⎯ 6
CCR → @(d:16, ERd) ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ 8
CCR → @(d:24, ERd) ⎯ ⎯ ⎯ ⎯ ⎯ ⎯ 12
ERd32–2 → ERd32
CCR → @ERd
CCR → @aa:16
CCR → @aa:24
CCR∧#xx:8 → CCR
CCR∨#xx:8 → CCR
CCR⊕#xx:8 → CCR
2 PC ← PC+2
⎯⎯⎯⎯⎯⎯ 8
⎯⎯⎯⎯⎯⎯ 8
⎯ ⎯ ⎯ ⎯ ⎯ ⎯ 10
2
2
2
⎯⎯⎯⎯⎯⎯ 2
Rev.5.00 Sep. 12, 2007 Page 620 of 764
REJ09B0396-0500