INC (INCrement)
INC
<Description>
This instruction increments an 8-bit general register and places the result in the 8-bit general
register.
<Instruction Formats>
<Operation>
Rd + 1
→
Rd
<Assembly-Language Format>
INC
Rd
<Examples>
INC R3L
<Operand Size>
Byte
<Condition Code>
I: Previous value remains unchanged.
H: Previous value remains unchanged.
N: Set to "1" if the result is negative;
otherwise cleared to "0."
Z: Set to "1" if the result is zero; otherwise
cleared to "0."
V: Set to "1" if an overflow occurs (the
previous value in Rd was H'7F);
otherwise cleared to "0."
C: Previous value remains unchanged.
I
H
N
Z
V
C
—
—
—
—
↕
↕
↕
—
Register direct
INC
Rd
0
A
0
rd
2
Addressing
mode
Mnem.
Operands
1st byte
Instruction code
No. of
states
2nd byte
3rd byte
4th byte
78
Содержание H8/300 Series
Страница 2: ...H8 300 Programming Manual...