8086 INC Instruction Edit

Murugan Andezuthu Dharmaratnam | 13 February 2021 | 182

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

Sample Code

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