Operation Code Map - Hitachi H8/3637 Hardware Manual

H8/3637 series
Table of Contents

Advertisement

Table A.1
Instruction Set (cont)
Mnemonic
JSR @@aa:8
RTS
RTE
SLEEP
LDC #xx:8, CCR
LDC Rs, CCR
STC CCR, Rd
ANDC #xx:8, CCR
ORC #xx:8, CCR
XORC #xx:8, CCR
NOP
EEPMOV
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).
(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.
A.2

Operation Code Map

Table A.2 is an operation code map. It shows the operation codes contained in the first byte of the
instruction code (bits 15 to 8 of the first instruction word).
322
Operation
SP–2 → SP
PC → @SP
PC ← @aa:8
PC ← @SP
SP+2 → SP
CCR ← @SP
SP+2 → SP
PC ← @SP
SP+2 → SP
Transit to sleep mode.
#xx:8 → CCR
B
Rs8 → CCR
B
CCR → Rd8
B
CCR∧#xx:8 → CCR
B
CCR∨#xx:8 → CCR
B
CCR⊕#xx:8 → CCR
B
PC ← PC+2
if R4L≠0 then
Repeat @R5 → @R6
R5+1 → R5
R6+1 → R6
R4L–1 → R4L
Until R4L=0
else next;
Addressing Mode/
Instruction Length (Bytes)
2
2
2
2
2
2
Condition Code
I H N Z V C
2
— — — — — — 8
2
— — — — — —
2
2 — — — — — —
— — — — — —
2 — — — — — —
4 — — — — — —
8
10
2
2
2
2
2
2
2
2
(4)

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/3635H8/3636

Table of Contents