| |
Increment by 1
86/88 |
Y |
186 |
Y |
286 |
Y |
386 |
Y |
486 |
Y |
INC destination |
Ovfl |
Y |
Dir |
N |
Int |
N |
Trap |
N |
Sign |
Y |
Zero |
Y |
Aux |
Y |
Prty |
Y |
Carry |
Y |
INC adds 1 to the destination. The destination, which may be either a
byte or a word, is considered an unsigned binary number.
Note: This instruction does not set the carry flag. If
you need to add 1 to a multi-word number, it is
better to use the ADD and ADC instructions instead.
------------------------------------ Timing ----------------------------------
OpCode Instruction 386 286 86
FE/0 INC r/m8 2/6 2/7 3/15+EA
FF/0 INC r/m16 2/6 2/7 3/15+EA
FF/6 INC r/m32
40+rw INC r16 2 2 3
40+rd INC r32
------------------------------------ Logic -----------------------------------
destination = destination + 1
See Also ADD ADC AAA DAA DEC Flags |