inc

Increment

INC r/m

Increments the operand by 1.

Details

The Increment instruction increments the operand by 1.

Pseudocode Operation

DEST <- DEST + 1
// Flags: OF, SF, ZF, AF, PF (CF unchanged)

Example

INC rbx

Encoding

Binary Layout
FF
+0
ModRM
+1
 
Format Legacy
Opcode FF /0
Extension Base

Operands

  • dest
    Register or memory operand