995
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.
Note:
*
This instruction should be used with the ER0, ER1, ER4, or ER5 general register only.
Содержание H8S/2631
Страница 28: ...xviii Appendix G Package Dimensions 1154 ...
Страница 341: ...316 Transfer SAR or DAR DAR or SAR Block area First block Nth block Figure 9 8 Memory Mapping in Block Transfer Mode ...
Страница 918: ...905 ø DREQ0 DREQ1 tDRQS tDRQH Figure 25 19 DMAC DREQ Input Timing ...
Страница 955: ...943 A 2 Instruction Codes Table A 2 shows the instruction codes ...