GNU Info

Info Node: (nasm.info)Section B.4.120

(nasm.info)Section B.4.120


Next: Section B.4.121 Prev: Section B.4.119 Up: Section B.4
Enter node , (file) or (file)node

B.4.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 *Note Section
B.4.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' (*Note Section B.4.58::).


automatically generated by info2www version 1.2.2.9