A.5.120 INC: Increment Integer
INC reg16 ; o16 40+r [8086]
INC reg32 ; o32 40+r [386]
INC r/m8 ; FE /0 [8086]
INC r/m16 ; o16 FF /0 [8086]
INC r/m32 ; o32 FF /0 [386]
INC adds 1 to its operand. It does _not_ affect the carry flag: to
affect the carry flag, use ADD something,1 (see section A.5.3). INC
affects all the other flags according to the result.
This instruction can be used with a LOCK prefix to allow atomic
execution.
See also DEC (section A.5.58).