Hitachi H8S/2646 Hardware Manual page 886

Hitachi 16-bit single-chip microcomputer h8s/2646 series
Table of Contents

Advertisement

Instruction
H
N
CMP
DAA
*
DAS
*
DEC
DIVXS
DIVXU
EEPMOV
— — — — —
EXTS
EXTU
— 0
INC
JMP
— — — — —
JSR
— — — — —
LDC
LDM
— — — — —
LDMAC
— — — — —
MAC
— — — — —
854
Z
V
C
Definition
H = Sm–4 · Dm–4 + Dm–4 · Rm–4 + Sm–4 · Rm–4
N = Rm
Z = Rm · Rm–1 · ...... · R0
V = Sm · Dm · Rm + Sm · Dm · Rm
C = Sm · Dm + Dm · Rm + Sm · Rm
N = Rm
*
Z = Rm · Rm–1 · ...... · R0
C: decimal arithmetic carry
N = Rm
*
Z = Rm · Rm–1 · ...... · R0
C: decimal arithmetic borrow
N = Rm
Z = Rm · Rm–1 · ...... · R0
V = Dm · Rm
N = Sm · Dm + Sm · Dm
— —
Z = Sm · Sm–1 · ...... · S0
— —
N = Sm
Z = Sm · Sm–1 · ...... · S0
0
N = Rm
Z = Rm · Rm–1 · ...... · R0
Z = Rm · Rm–1 · ...... · R0
0
N = Rm
Z = Rm · Rm–1 · ...... · R0
V = Dm · Rm
Stores the corresponding bits of the result.
No flags change when the operand is EXR.

Advertisement

Table of Contents
loading

Table of Contents