Arithmetic instructions in 8086
microprocessor
Last Updated : 22 May, 2018
Arithmetic Instructions are the instructions which perform basic
arithmetic operations such as addition, subtraction and a few more.
Unlike in 8085 microprocessor, in 8086 microprocessor the
destination operand need not be the accumulator.
Following is the table showing the list of arithmetic instructions:
OPCOD
E OPERAND EXPLANATION EXAMPLE
ADD AX,
ADD D, S D=D+S
[2050]
ADC D, S D = D + S + prev. carry ADC AX, BX
SUB D, S D=D–S SUB AX, [SI]
SBB [2050],
SBB D, S D = D – S – prev. carry
0050
MUL 8-bit register AX = AL * 8-bit reg. MUL BH
16-bit
MUL DX AX = AX * 16-bit reg. MUL CX
register
8 or 16 bit performs signed
IMUL IMUL CX
register multiplication
AX = AX / 8-bit reg. ; AL =
DIV 8-bit register DIV BL
quotient ; AH = remainder
OPCOD
E OPERAND EXPLANATION EXAMPLE
16-bit DX AX / 16-bit reg. ; AX =
DIV DIV CX
register quotient ; DX = remainder
8 or 16 bit
IDIV performs signed division IDIV BL
register
INC D D=D+1 INC AX
DEC D D=D–1 DEC [2050]
CBW none converts signed byte to word CBW
converts signed byte to
CWD none CWD
double word
NEG D D = 2’s compliment of D NEG AL
DAA none decimal adjust accumulator DAA
decimal adjust accumulator
DAS none DAS
after subtraction
ASCII adjust accumulator
AAA none AAA
after addition
ASCII adjust accumulator
AAS none AAS
after subtraction
ASCII adjust accumulator
AAM none AAM
after multiplication
ASCII adjust accumulator
AAD none AAD
after division
Here D stands for destination and S stands for source.
D and S can either be register, data or memory address.