Rev. 5.00, 12/03, page 923 of 1088
Instruction
H
N
Z
V
C
Definition
SUB
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
SUBS
— — — — —
SUBX
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
TAS
—
0
—
N = Dm
Z =
Dm
·
Dm–1
· ...... ·
D0
TRAPA
— — — — —
XOR
—
0
—
N = Rm
Z =
Rm
·
Rm–1
· ...... ·
R0
XORC
Stores the corresponding bits of the result.
No flags change when the operand is EXR.
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...