0% found this document useful (0 votes)
21 views

Arithmetic instructions in 8086 microprocessor

The document outlines the arithmetic instructions of the 8086 microprocessor, which perform basic operations such as addition, subtraction, multiplication, and division. Unlike the 8085 microprocessor, the destination operand in 8086 does not need to be the accumulator. A table is provided listing various instructions, their operands, explanations, and examples.

Uploaded by

ezekiel nyamu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views

Arithmetic instructions in 8086 microprocessor

The document outlines the arithmetic instructions of the 8086 microprocessor, which perform basic operations such as addition, subtraction, multiplication, and division. Unlike the 8085 microprocessor, the destination operand in 8086 does not need to be the accumulator. A table is provided listing various instructions, their operands, explanations, and examples.

Uploaded by

ezekiel nyamu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

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.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy