125
2.2.55 SUBX (subtract with extend carry)
Operation
Rd - (EAs) - C
→
Rd
Assembly-Language Format
SUBX <EAs>, Rd
Operand Size
Byte
Condition Code
I
H
N
Z
V
C
—
—
∆
—
∆
∆
∆
∆
I:
Previous value remains unchanged.
H:
Set to 1 if there is a borrow from bit 3; otherwise cleared to 0.
N:
Set to 1 when the result is negative; otherwise cleared to 0.
Z:
Previous value remains unchanged when the result is zero; otherwise cleared to 0.
V:
Set to 1 when an overflow occurs; otherwise cleared to 0.
C:
Set to 1 when there is a borrow from bit 7; otherwise cleared to 0.
Description
This instruction subtracts the source operand and carry flag from the contents of an 8-bit general
register and places the result in the general register.
Instruction Formats and Number of Execution States
Instruction code
Addressing
mode
Mnem.
Operands
1st byte 2nd byte
3rd byte
4th byte
No. of
states
Immediate
SUBX
#xx:8, Rd
B
rd
IMM
2
Register direct SUBX
Rs, Rd
1
E
rs
rd
2
Содержание H8/300L Series
Страница 1: ...H8 300L Series Programming Manual ...
Страница 6: ...iv ...
Страница 8: ...2 ...
Страница 11: ......
Страница 14: ......
Страница 46: ......
Страница 48: ......
Страница 60: ......
Страница 83: ......
Страница 116: ......
Страница 150: ...144 ...
Страница 151: ......
Страница 156: ...150 ...