Rev. 5.00, 12/03, page 919 of 1088
Table A-7
Condition Code Modification
Instruction
H
N
Z
V
C
Definition
ADD
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
ADDS
— — — — —
ADDX
H = Sm–4 · Dm–4 + Dm–4 ·
Rm–4
+ Sm–4 ·
Rm–4
N = Rm
Z = Z' ·
Rm
· ...... ·
R0
V = Sm · Dm ·
Rm
+
Sm
·
Dm
· Rm
C = Sm · Dm + Dm ·
Rm
+ Sm ·
Rm
AND
—
0
—
N = Rm
Z =
Rm
·
Rm–1
· ...... ·
R0
ANDC
Stores the corresponding bits of the result.
No flags change when the operand is EXR.
BAND
— — — —
C = C' · Dn
Bcc
— — — — —
BCLR
— — — — —
BIAND
— — — —
C = C' ·
Dn
BILD
— — — —
C =
Dn
BIOR
— — — —
C = C' +
Dn
BIST
— — — — —
BIXOR
— — — —
C = C' · Dn +
C'
·
Dn
BLD
— — — —
C = Dn
BNOT
— — — — —
BOR
— — — —
C = C' + Dn
BSET
— — — — —
BSR
— — — — —
BST
— — — — —
BTST
— —
— —
Z =
Dn
BXOR
— — — —
C = C' ·
Dn
+
C'
· Dn
CLRMAC
Cannot be used in the chip
Summary of Contents for H8S/2318 series
Page 2: ......
Page 6: ...Rev 5 00 12 03 page vi of xxx...
Page 12: ...Rev 5 00 12 03 page xii of xxx...
Page 30: ...Rev 5 00 12 03 page xxx of xxx...
Page 54: ...Rev 5 00 12 03 page 24 of 1088...
Page 98: ...Rev 5 00 12 03 page 68 of 1088...
Page 128: ...Rev 5 00 12 03 page 98 of 1088...
Page 138: ...Rev 5 00 12 03 page 108 of 1088...
Page 168: ...Rev 5 00 12 03 page 138 of 1088...
Page 212: ...Rev 5 00 12 03 page 182 of 1088...
Page 324: ...Rev 5 00 12 03 page 294 of 1088...
Page 436: ...Rev 5 00 12 03 page 406 of 1088...
Page 546: ...Rev 5 00 12 03 page 516 of 1088...
Page 580: ...Rev 5 00 12 03 page 550 of 1088...
Page 822: ...Rev 5 00 12 03 page 792 of 1088...
Page 876: ...Rev 5 00 12 03 page 846 of 1088...
Page 901: ...Rev 5 00 12 03 page 871 of 1088 A 2 Instruction Codes Table A 2 shows the instruction codes...
Page 1121: ...H8S 2319 Group H8S 2318 Group Hardware Manual REJ09B0089 0500O...