×

8085 Arithmetic Instructions

Arithmetic instructions are a type of instruction in a computer's instruction set that perform arithmetic operations on data. These operations can include addition, subtraction, multiplication, and division. Arithmetic instructions can operate on integers, floating-point numbers, or other types of numeric data. They are an important part of any computer's instruction set and are frequently used in programs to perform mathematical calculations.

The Intel 8085 is an 8-bit microprocessor that was introduced in 1977. It is capable of performing arithmetic instructions, such as addition, subtraction, increment, and decrement.

Here is a table of the 8085 arithmetic instructions:

InstructionDescription
ADDAdd the content of a register or memory location to the accumulator
ADIAdd an immediate value to the accumulator.
SUBSubtract the content of a register or memory location from the Accumulator  
SUISubtract an immediate value from the accumulator
INRIncrement the content of a register or memory location by 1
DCRDecrement the content of a register or memory location by 1

Here is a brief description of each instruction:

  1. ADD - Thi instruction is used to add the values in two registers or a register and a memory location, and store the result in a register. The syntax for this instruction is "ADD destination". The destination can be a register (A, B, C, D, E, H, or L) or a memory location (specified using the H and L registers). This instruction can also be used to add an immediate value to the accumulator (register A) using the "ADI data" syntax, where "data" is the immediate value to be added.
  2. ADC - This instruction is used to add the values in two registers or a register and a memory location, including the carry flag, and store the result in a register. The syntax for this instruction is "ADC destination". The destination can be a register (A, B, C, D, E, H, or L) or a memory location (specified using the H and L registers). This instruction can also be used to add an immediate value and the carry flag to the accumulator (register A) using the "ACI data" syntax, where "data" is the immediate value to be added.
  3. SUB - This instruction is used to subtract the value of a register or memory location from the accumulator (register A) and store the result in the accumulator. The syntax for this instruction is "SUB destination". The destination can be a register (B, C, D, E, H, or L) or a memory location (specified using the H and L registers). This instruction can also be used to subtract an immediate value from the accumulator using the "SUI data" syntax, where "data" is the immediate value to be subtracted.
  4. SBB - This instruction is used to subtract the value of a register or memory location, including the carry flag, from the accumulator (register A) and store the result in the accumulator. The syntax for this instruction is "SBB destination". The destination can be a register (B, C, D, E, H, or L) or a memory location (specified using the H and L registers). This instruction can also be used to subtract an immediate value and the carry flag from the accumulator using the "SBI data" syntax, where "data" is the immediate value to be subtracted.
  5. INR - This instruction is used to increment the value in a register or memory location by 1. The syntax for this instruction is "INR destination", where "destination" is the register (A, B, C, D, E, H, or L) or memory location (specified using the H and L registers) to be incremented.
  6. DCR - This instruction is used to decrement the value in a register or memory location by 1. The syntax for this instruction is "DCR destination", where "destination" is the register (A, B, C, D, E, H, or L) or memory location (specified using the H and L registers) to be decremented.
  7. DAD - This instruction is used to double the value in the H and L registers, and add the result to the value in the D and E registers. The syntax for this instruction is "DAD destination", where "destination" is the register pair (B, D, or H) to be used. This instruction is often used to perform 16-bit arithmetic, such as incrementing a 16-bit memory address or adding two 16-bit numbers.
  8. DCX - This instruction is used to decrement the value in the H and L registers by 1. The syntax for this instruction is "DCX destination", where "destination" is the register pair (B, D, or H) to be decremented. This instruction is often used to perform 16-bit arithmetic, such as decrementing a 16-bit memory address.

Related Topics

Biconnectivity in a Graph

What is a Graph? A graph is a structure where values are stored at the vertex, and the relation between vertices is denoted by edges. In a graph, if there is only...

4 minutes read.

Advantages and Disadvantages of Flash Memory

What is Flash Memory? Electrically Erasable Programmable Read-Only Memory (EEPROM) and Erasable Programmable Read-Only Memory (EPROM) are used for flash memory (EEPROM). Although technically the word flash is used in the industry...

3 minutes read.

8255 Microprocessor Operating Modes

8255 microprocessor was invented by intel in the year 1980s. 8255 microprocessor is a general-purpose microprocessor that can be programmed. 8255 is mostly used as an interface between devices like...

3 minutes read.

Microprocessor classification

Introduction: Microprocessor is known as the computer processor. The IC or integrated Circuit makes the microprocessor. that is the brain of the computer machine. The microprocessor is known as the...

6 minutes read.

Ethernet Frame Format

What is Ethernet? As we know in computer networking, LAN (Local Area Network) is used to connect devices in limited geographical areas like schools or a building.LAN uses different topologies (arrangement...

3 minutes read.

Instruction Pipelining and Pipeline Hazards

Instruction Pipelining and Pipeline Hazards To apply pipeline, the prerequisite is to perform the same processing over multiple inputs, then pipelining is important. So instruction execution is the best example for...

10 minutes read.

CarryLook Ahead Adder

What is Adder? Adder is the combinational circuit that is used to add the bits in digital electronics. As we know, in the digital system, every number is represented in the...

4 minutes read.

Addressing Modes

Introduction: Addressing Modes An instruction consists of two parts opcode and operands. Opcode tells the operation going to perform, and operand information is the address of the operand. The CPU interprets...

8 minutes read.

Assembly Language Register

Assembly Language Register Assembly language was introduced during the late 1940s in the second generation. It is a low-level language that helps in communication between the user and the computer. It...

6 minutes read.

Flag Register of 8086 Microprocessor

In this article, we are going to study about the one of the registers named flag registers of 8086 microprocessor. We are also going to know where and how to...

3 minutes read.

Convert a number from base 2 to base 6

Base 2 Base 2 is the format where you can represent any number with just two values which are 0 and 1. With the help of 0s and 1s, we can...

4 minutes read.

BCD to 7 Segment Decoder

What is BCD? BCD is called Binary Coded Decimal. As you know there are a lot of forms in which we can represent the number like Binary, decimal, hexadecimal, and octal...

3 minutes read.

Types of Microprocessors

Introduction:Microprocessor is known as the computer processor. The IC or integrated Circuit makes the microprocessor. That is the brain of the computer machine.  The microprocessor is the Processor or CPU (Central...

3 minutes read.

8085 Pin Configuration

Introduction: Intel 8085 is consist 40 pin IC. The pin name of 8085 is A8 – A15; AD0 – AD7; ALE; IO/M; S0, S1; RD; WR; READY; HOLD; HLDA; INTR; INTA;...

6 minutes read.

CPU Registers

CPU Registers Within the CPU, we have small- small storage units called registers. If we are executing a certain program within the CPU, there's a need to store that program content,...

11 minutes read.

Control Signals in 8155 Microprocessor

Intel designed the chip 8155 used to interface with I/O devices. Basically, the 8085 microprocessor is directly unable to deal with its peripheral input output devices for reading data or...

3 minutes read.

8086 Microprocessor Pin Configurations

8086 microprocessor is invented and developed by Intel in 1976. The 8086 Microprocessor is an enhanced version of the 8085 Microprocessor. There are 20 address lines and 16 data lines...

6 minutes read.

Bipartite Graph

A graph is said to be bipartite if and only if we can divide all the vertices of a graph into two sets such that these sets are mutually exclusive...

4 minutes read.

Computer Organization and Architecture Data Formats

Data Formats In the digital world, everything is based on digits. In every method, the calculation is processed on the digits, and most importantly, the computer only understands the binary language...

6 minutes read.

Digital Number System

Digital Number System: The computer understands digital language only. Many number systems are used in digital technology. The most common are Decimal, Binary, Octal and Hexadecimal number systems. Types of the...

7 minutes read.