Skip to content
Related Articles

Related Articles

Arithmetic instructions in 8085 microprocessor

Improve Article
Save Article
  • Difficulty Level : Medium
  • Last Updated : 18 May, 2022
Improve Article
Save Article

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. 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

My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!