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

8085 Arithmetic Instructions - Tutorialspoint PDF

This document provides a table summarizing the arithmetic instructions of the 8085 microprocessor. It lists the opcode, operand, meaning, and brief explanation of each instruction. The instructions include ADD, ADC, ADI, ACI, LXI, DAD, SUB, SBB, SUI, SBI, INR, INX, DCR, DCX, and DAA. These instructions perform arithmetic operations like addition, subtraction, incrementing, decrementing registers and memory locations, and decimal adjustment of values in the accumulator.

Uploaded by

Designer Emil
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
105 views

8085 Arithmetic Instructions - Tutorialspoint PDF

This document provides a table summarizing the arithmetic instructions of the 8085 microprocessor. It lists the opcode, operand, meaning, and brief explanation of each instruction. The instructions include ADD, ADC, ADI, ACI, LXI, DAD, SUB, SBB, SUI, SBI, INR, INX, DCR, DCX, and DAA. These instructions perform arithmetic operations like addition, subtraction, incrementing, decrementing registers and memory locations, and decimal adjustment of values in the accumulator.

Uploaded by

Designer Emil
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

6/11/2020 8085 Arithmetic Instructions - Tutorialspoint

8085 Arithmetic Instructions

Following is the table showing the list of Arithmetic instructions with their meanings.

https://www.tutorialspoint.com/microprocessor/microprocessor_8085_arithmetic_instructions.htm 1/4
6/11/2020 8085 Arithmetic Instructions - Tutorialspoint

Opcode Operand Meaning Explanation

The contents of the register or memory are


R Add register or added to the contents of the accumulator and
ADD memory, to the the result is stored in the accumulator.
M accumulator
Example − ADD K.

The contents of the register or memory & M the


Add register to Carry flag are added to the contents of the
R the
ADC accumulator and the result is stored in the
M accumulator accumulator.
with carry
Example − ADC K

Add the The 8-bit data is added to the contents of the


immediate to accumulator and the result is stored in the
ADI 8-bit data accumulator.
the
accumulator Example − ADI 55K

Add the The 8-bit data and the Carry flag are added to
immediate to the contents of the accumulator and the result is
ACI 8-bit data the stored in the accumulator.
accumulator
Example − ACI 55K
with carry

Load the The instruction stores 16-bit data into the


Reg. pair, register pair designated in the operand.
LXI register pair
16bit data
immediate Example − LXI K, 3025M

Add the register The 16-bit data of the specified register pair are
DAD Reg. pair pair to H and L added to the contents of the HL register.
registers Example − DAD K

Subtract the The contents of the register or the memory are


R register or the subtracted from the contents of the accumulator,
SUB memory from and the result is stored in the accumulator.
M the
Example − SUB K
accumulator
https://www.tutorialspoint.com/microprocessor/microprocessor_8085_arithmetic_instructions.htm 2/4
6/11/2020 8085 Arithmetic Instructions - Tutorialspoint
accumulator

SBB R Subtract the The contents of the register or the memory & M
source and the Borrow flag are subtracted from the contents
M
borrow from the of the accumulator and the result is placed in the
accumulator accumulator.
Example − SBB K

Subtract the The 8-bit data is subtracted from the contents of


immediate from the accumulator & the result is stored in the
SUI 8-bit data accumulator.
the
accumulator Example − SUI 55K

Subtract the The contents of register H are exchanged with


immediate from the contents of register D, and the contents of
SBI 8-bit data the register L are exchanged with the contents of
accumulator register E.
with borrow Example − XCHG

The contents of the designated register or the


R Increment the memory are incremented by 1 and their result is
INR register or the stored at the same place.
M memory by 1
Example − INR K

The contents of the designated register pair are


Increment incremented by 1 and their result is stored at the
INX R register pair by same place.
1
Example − INX K

The contents of the designated register or


R Decrement the memory are decremented by 1 and their result is
DCR register or the stored at the same place.
M memory by 1
Example − DCR K

The contents of the designated register pair are


Decrement the decremented by 1 and their result is stored at
DCX R register pair by the same place.
1
Example − DCX K
https://www.tutorialspoint.com/microprocessor/microprocessor_8085_arithmetic_instructions.htm 3/4
6/11/2020 8085 Arithmetic Instructions - Tutorialspoint

DAA None Decimal adjust The contents of the accumulator are changed
accumulator from a binary value to two 4-bit BCD digits.

If the value of the low-order 4-bits in the


accumulator is greater than 9 or if AC flag is set,
the instruction adds 6 to the low-order four bits.
If the value of the high-order 4-bits in the
accumulator is greater than 9 or if the Carry flag
is set, the instruction adds 6 to the high-order
four bits.

Example − DAA

https://www.tutorialspoint.com/microprocessor/microprocessor_8085_arithmetic_instructions.htm 4/4

You might also like