Hitachi H8/3062 Hardware Manual page 769

Single-chip microcomputer
Hide thumbs Also See for H8/3062:
Table of Contents

Advertisement

7. System control instructions
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
LDC @aa:16, CCR
LDC @aa:24, CCR
STC CCR, Rd
STC CCR, @ERd
STC CCR, @(d:16,
ERd)
STC CCR, @(d:24,
ERd)
STC CCR, @–ERd
STC CCR, @aa:16
STC CCR, @aa:24
ANDC #xx:8, CCR
ORC #xx:8, CCR
XORC #xx:8, CCR
NOP
754
Addressing Mode and
Instruction Length (bytes)
B
2
B
2
W
4
W
6
W
10
W
4
W
6
W
8
B
2
W
4
W
6
W
10
W
4
W
6
W
8
B
2
B
2
B
2
Operation
PC → @–SP
2
CCR → @–SP
<vector> → PC
CCR ← @SP+
PC ← @SP+
Transition to powerdown
state
#xx:8 → CCR
Rs8 → CCR
@ERs → CCR
@(d:16, ERs) → CCR
@(d:24, ERs) → CCR
@ERs → CCR
ERs32+2 → ERs32
@aa:16 → CCR
@aa:24 → CCR
CCR → Rd8
CCR → @ERd
CCR → @(d:16, ERd)
CCR → @(d:24, ERd)
ERd32–2 → ERd32
CCR → @ERd
CCR → @aa:16
CCR → @aa:24
CCR∧#xx:8 → CCR
CCR∨#xx:8 → CCR
CCR⊕#xx:8 → CCR
PC ← PC+2
2
No. of
States*
Condition Code
I
H N Z
V C
1 — — — — —
14 16
— — — — — —
— — — — — —
— — — — — —
— — — — — —
— — — — — —
— — — — — —
— — — — — —
— — — — — —
— — — — — —
1
10
2
2
2
6
8
12
8
8
10
2
6
8
12
8
8
10
2
2
2
2

Advertisement

Table of Contents
loading

Table of Contents