INC
INCREMENT
INC
Operation:
Flags Affected:
(OEST)
+-
(OEST) + 1
Description:
INC destination
INC (Increment) adds one to the destination
operand. The operand may be a byte or a word
and
is
treated as an unsigned binary number
(see
AAA and DAA). INC updates AF, OF,
PF,
SF
and ZF; it does not affect CF.
Encoding:
Memory or Register Operand:
11
1 1 1 1 1 1 w 1 mod 0 0 0 rIm 1
OEST=
EA
·16-Bit Register Operand:
1
01000
reg
OEST=
REG
AF,.OF,
PF,
SF,
ZF
INC
Operands
Clocks·
Transfers
Bytes
INC
Coding
Example
reg16
2
-
1
INCCX
reg8
3
- 2
INCBL
memory
15(23)
+ EA
2
2-4
INC ALPHA
[01]
[BX]
*b(w): where b
denotes
the
number
of
clock
cycles
for
byte
operands
and
w
denotes
the
number
of
clock
cycles
for
word operands.
2-81