You are here : assembly8086INC

INC - 8086

Increment Register or Memory value by 1.

Algorithm :

operand = operand + 1


Syntax

INC Reg
INC Memory


Example

MOV AL, 4
INC AL       ; AL = 5
RET


Output / Return Value


Limitations


Alternatives / See Also


Reference