
INC
INCREMENTINC
Operation: | Flags Affected: |
(OEST) +- (OEST) + 1 | AF,.OF, PF, SF, ZF |
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:
111 1 1 1 1 1 w 1mod 0 0 0 rIm 1
OEST= EA
·16-BitRegister Operand:
1 01000 reg
OEST= REG
INC Operands Clocks· Transfers Bytes INC Coding Example
reg16 | 2 | - | 1 | INCCX |
reg8 | 3 | - | 2 | INCBL |
memory | 15(23) + EA | 2 | 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.