Published by: Nuru
Published date: 17 Jun 2021
The 8085 microprocessor performs various arithmetic operations, such as addition, subtraction, increment, and decrement. These arithmetic operations have the following mnemonics.
INTRODUCTION TO 8085 ARITHMETIC INSTRUCTIONS
ADD: | Add | Add the contents of a register. |
ADI: | Add Immediately | Add 8-bit data. |
SUB: | Subtract | Subtract the contents of a register. |
SUI: | Subtract Immediately | Subtract 8-bit data. |
INR: | Increment | Increase the content of register by1. |
DCR: | Decrement | Decrease the content of register by1. |
The arithmetic operations ADD and Subtract are performed in relation to the contents of the accumulator. However, the Increment or the Decrement operations can be performed in any register. The instructions for these operations are explained below:
INSTRUCTIONS
These arithmetic instructions(except INR and DCR)
The instructions INR and DCR
The descriptions of the instructions (including INR and DCR) are as follows:
Opcode | Operand | Description |
ADD | R |
ADD
|
ADI | 8-bit |
Add Immediately
|
SUB | R+ |
Subtract
|
SUI | 8-bit |
Subtract Immediately
|
INR | R* |
Increment
|
DCR | R* |
Decrement
|
So, These are the arithmetic operations/ instructions of the 8085 microprocessor.