s

8086 INC Instruction edit button Edit

author
Murugan Andezuthu Dharmaratnam | calendar 13 February 2021 | 3975

INC is an arithmetic instruction that is used to increment the destination register or memory location by 1.

The destination can be a general-purpose register or a memory location. and it can be a byte or a word.

Following flags are affected
AF, OF, PF, SF, and ZF but CF is not affected

Types of operands supported

Instruction	Operands
----------------------------
INC		REG
                memory

Sample Code

mov ax,99d
inc ax      ; Value of ax will be 100 decimal