
- Microprocessor - Home
- Microprocessor Overview
- Microprocessor Classification
- Microprocessor Evolution
- Microprocessor Components
- Microprocessor Characteristics
- Microprocessor Functions
- Microprocessor Pros & Cons
- Microprocessor Application
- Microcontrollers Types
- Microcontrollers Pros & Cons
- 8085 Microprocessor Architecture
- 8085 Microprocessor Pin Configuration
- Addressing Modes & Interrupts
- 8085 Microprocessor Instruction Sets
- 8085 Microprocessor Features
- Externally Initiated Operations
- 8086 Microprocessor
- 8086 Microprocessor Overview
- Functional Units
- Pin Configuration
- Instruction Sets
- 8086 Microprocessor Interrupts
- 8086 Microprocessor Addressing Modes
- 8086 Microprocessor Features
- Memory Segmentation
- Auxiliary Carry Flag
- Maximum and Minimum Mode Configurations
- Multiprocessor Configuration
- Configuration Overview
- 8087 Numeric Data Processor
- I/O Interfacing
- I/O Interfacing Overview
- 8279 Programmable Keyboard
- 8257 DMA Controller
- Serial vs Parallel Communication
- Serial Communications Interface
- Parallel Communication Interface
- 8051 Microcontrollers
- Microcontrollers Overview
- 8051 Microcontrollers Architecture
- 8051 Pin Description
- 8051 Input Output Ports
- 8051 Microcontrollers Interrupts
- Instruction Sets
- Logical Instructions in AVR
- Conditional Branch Instructions AVR
- Arithmetic Instructions in AVR
- External Memory Interfacing
- Time Delay in AVR
- 8051 vs PIC Microcontroller
- Peripheral Devices
- Peripheral Devices
- Programmable Peripheral Interface
- Intel 8255A Pin Description
- Programmable Interval Timer
- 8253/54 Operational Modes
- Interfacing Devices
- Applications and Furture Trends
- Microcontrollers - Application
- Microcontrollers - Low-Power
- Microprocessor Useful Resources
- Microprocessor - Quick Guide
- Microprocessor - Useful Resources
- Microprocessor - Discussion
8085 Arithmetic Instructions
Following is the table showing the list of Arithmetic instructions with their meanings.
Opcode | Operand | Meaning | Explanation |
---|---|---|---|
ADD |
R M |
Add register or memory, to the accumulator |
The contents of the register or memory are added to the contents of the accumulator and the result is stored in the accumulator. Example − ADD K. |
ADC |
R M |
Add register to the accumulator with carry |
The contents of the register or memory & M the Carry flag are added to the contents of the accumulator and the result is stored in the accumulator. Example − ADC K |
ADI |
8-bit data |
Add the immediate to the accumulator |
The 8-bit data is added to the contents of the accumulator and the result is stored in the accumulator. Example − ADI 55K |
ACI |
8-bit data |
Add the immediate to the accumulator with carry |
The 8-bit data and the Carry flag are added to the contents of the accumulator and the result is stored in the accumulator. Example − ACI 55K |
LXI |
Reg. pair, 16bit data |
Load the register pair immediate |
The instruction stores 16-bit data into the register pair designated in the operand. Example − LXI K, 3025M |
DAD |
Reg. pair |
Add the register pair to H and L registers |
The 16-bit data of the specified register pair are added to the contents of the HL register. Example − DAD K |
SUB |
R M |
Subtract the register or the memory from the accumulator |
The contents of the register or the memory are subtracted from the contents of the accumulator, and the result is stored in the accumulator. Example − SUB K |
SBB |
R M |
Subtract the source and borrow from the accumulator |
The contents of the register or the memory & M the Borrow flag are subtracted from the contents of the accumulator and the result is placed in the accumulator. Example − SBB K |
SUI |
8-bit data |
Subtract the immediate from the accumulator |
The 8-bit data is subtracted from the contents of the accumulator & the result is stored in the accumulator. Example − SUI 55K |
XCHG |
None |
Exchange H and L with D and E |
The contents of register H are exchanged with the contents of register D, and the contents of register L are exchanged with the contents of register E. Example − XCHG |
INR |
R M |
Increment the register or the memory by 1 |
The contents of the designated register or the memory are incremented by 1 and their result is stored at the same place. Example − INR K |
INX |
R |
Increment register pair by 1 |
The contents of the designated register pair are incremented by 1 and their result is stored at the same place. Example − INX K |
DCR |
R M |
Decrement the register or the memory by 1 |
The contents of the designated register or memory are decremented by 1 and their result is stored at the same place. Example − DCR K |
DCX |
R |
Decrement the register pair by 1 |
The contents of the designated register pair are decremented by 1 and their result is stored at the same place. Example − DCX K |
DAA |
None |
Decimal adjust accumulator |
The contents of the accumulator are changed 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 |