Instructions to perform addition in 8085 Microprocessor

Microprocessor8085

In 8085 Instruction set, and specially in its arithmetic group of instructions, we have only add and subtract instructions. 8085 does not have instructions to perform multiplication or division numbers. Now let us discuss the instructions to perform addition operations only.

To perform addition of two numbers, 8085 imposes the restriction that one of the operands must be kept in the Accumulator. The other operand can be at any one of the following possible locations

ClassificationsExamples
The other operand can be kept in 8-bit immediate data in the instruction.
ADI 43H
ADI FFH
The other 8-bit operand can be kept in a memory location and whose memory address will be pointed by HL register pair.
ADD M
The other 8-bit operand can be kept in a 8-bit register
ADD B
ADD C

Here is the list of instructions available in 8085 instruction set suitable for addition operations

Mnemonics, OperandOpcode (in HEX)Bytes
ACI DataCE2
ADC A8F1
ADC B881
ADC C891
ADC D8A1
ADC E8B1
ADC H8C1
ADC L8D1
ADC M8E1
ADD A871
ADD B801
ADD C811
ADD D821
ADD E831
ADD H841
ADD L851
ADD M861
ADI DataC62
raja
Published on 27-Dec-2018 12:50:26
Advertisements