Skip to content
Related Articles

Related Articles

Improve Article

Arithmetic instructions in 8085 microprocessor

  • Difficulty Level : Medium
  • Last Updated : 21 May, 2020

Arithmetic Instructions are the instructions which perform basic arithmetic operations such as addition, subtraction and a few more. In 8085 microprocessor, the destination operand is generally the accumulator. In 8085 microprocessor, the destination operand is generally the accumulator.

Following is the table showing the list of arithmetic instructions:

OpcodeOperandExplanationExample
ADDRA = A + RADD B
ADDMA = A + McADD 2050
ADI8-bit dataA = A + 8-bit dataADI 50
ADCRA = A + R + prev. carryADC B
ADCMA = A + Mc + prev. carryADC 2050
ACI8-bit dataA = A + 8-bit data + prev. carryACI 50
SUBRA = A – RSUB B
SUBMA = A – McSUB 2050
SUI8-bit dataA = A – 8-bit dataSUI 50
SBBRA = A – R – prev. carrySBB B
SBBMA = A – Mc -prev. carrySBB 2050
SBI8-bit dataA = A – 8-bit data – prev. carrySBI 50
INRRR = R + 1INR B
INRMM = Mc + 1INR 2050
INXr.p.r.p. = r.p. + 1INX H
DCRRR = R – 1DCR B
DCRMM = Mc – 1DCR 2050
DCXr.p.r.p. = r.p. – 1DCX H
DADr.p.HL = HL + r.p.DAD H

In the table,
R stands for register
M stands for memory
Mc stands for memory contents
r.p. stands for register pair

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.

 

My Personal Notes arrow_drop_up
Recommended Articles
Page :