0% found this document useful (0 votes)
70 views1 page

Addressing Modes in 8085: Instruction Set of Intel 8085 Microprocessor

The document discusses different topics related to the Intel 8085 microprocessor: 1. It describes 5 different addressing modes in 8085 - immediate, register, direct, indirect, and register indirect addressing modes which specify how operands are accessed in instructions. 2. It explains that the instruction set of a microprocessor is the set of instructions it is designed to execute and lists some common instruction groups for the 8085 like data transfer, arithmetic, and bit manipulation instructions. 3. It provides examples of instructions from each group like MOV and ADD from data transfer, MUL and DIV from arithmetic, and AND, OR, and XOR from bit manipulation to illustrate how different addressing modes can be used in instructions.

Uploaded by

Sarozayn PSY
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
70 views1 page

Addressing Modes in 8085: Instruction Set of Intel 8085 Microprocessor

The document discusses different topics related to the Intel 8085 microprocessor: 1. It describes 5 different addressing modes in 8085 - immediate, register, direct, indirect, and register indirect addressing modes which specify how operands are accessed in instructions. 2. It explains that the instruction set of a microprocessor is the set of instructions it is designed to execute and lists some common instruction groups for the 8085 like data transfer, arithmetic, and bit manipulation instructions. 3. It provides examples of instructions from each group like MOV and ADD from data transfer, MUL and DIV from arithmetic, and AND, OR, and XOR from bit manipulation to illustrate how different addressing modes can be used in instructions.

Uploaded by

Sarozayn PSY
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Addressing Modes in 8085 Addressing modes in 8086 Instruction Set of Intel 8085 Data Transfer Instructions

These are the instructions used to The different ways in which a source These instructions are used to
Microprocessor
transfer the data from one register operand is denoted in an instruction transfer the data from the source
An Instruction is a command given to
to another register, from the is known as addressing modes. operand to the destination operand.
the computer to perform a specified
There are 8 different addressing Following are the list of instructions
memory to the register, and from operation on given data. The
modes in 8086 programming − under this group –
the register to the memory without instruction
Immediate addressing mode MOV
any alteration in the content. set of a microprocessor is the
The addressing mode in which the PPUSH POP PUSHA POPA XC
Addressing modes in 8085 is collection of the instructions that the
data operand is a part of the HG XLAT IN OUT LEA LDS LES
classified into 5 groups − microprocessor is designed to
instruction itself is known as LAHF SAHFPUSHF POPF
Immediate addressing mode execute. The
immediate addressing mode. Arithmetic Instructions
instructions described here are of
In this mode, the 8/16-bit data is Example
Intel 8085. These instructions are of These instructions are used to
specified in the instruction itself as MOV CX, 4929 H, ADD AX, 2387 H, perform arithmetic operations like
Intel Corporation. They cannot be
one of its operand. For example: MOV AL, FFH addition, subtraction, multiplication,
used by
MVI K, 20F: means 20F is copied Register addressing mode division, etc.
other microprocessor manufactures.
into register K. It means that the register is the Following is the list of instructions
The programmer can write a program
Register addressing mode source of an operand for an under this group – ADD ADC INC
in assembly language using these
In this mode, the data is copied instruction. AAA DAA SUBSBB DEC NPG CMP
instructions. These instructions have
Example AAS DAS MUL IMUL AAM DIV IDIV
from one register to another. For been classified into the following
MOV CX, AX ; copies the contents AAD
example: MOV K, B: means data groups:
of the 16-bit AX register into ; the 16- Bit Manipulation Instructions
in register B is copied to register Data Transfer Group
bit CX register), These instructions are used to
K. Instructions, which are used to
ADD BX, AX perform operations where data bits
Direct addressing mode transfer data from one register to
Direct addressing mode are involved, i.e. operations like
another register, from memory to
In this mode, the data is directly The addressing mode in which the
register or logical, shift, etc.
copied from the given address to effective address of the memory
register to memory, come under this
the register. For example: LDB location is written directly in the Following is the list of instructions
group. Examples are: MOV, MVI,
5000K: means the data at address instruction. under this group –NOT AND OR
LXI, LDA, STA etc. When an
5000K is copied to register B. Example XOR TEST SHL/SAL SHR SAR
instruction of data
Indirect addressing mode MOV AX, [1592H], MOV AL, [0300H] ROLROR RCR RCL
transfer group is executed, data is
In this mode, the data is Register indirect addressing mode String Instructions
transferred from the source to the
This addressing mode allows data to String is a group of bytes/words and
transferred from one register to destination without altering the
be addressed at any memory their memory is always allocated in a
another by using the address contents of
location through an offset address sequential order. REP REPE/REPZ
pointed by the register. For the source. For example, when MOV
held in any of the following registers: REPNE/REPNZ
example: MOV K, B: means data A, B is executed the content of the
BP, BX, DI & SI. MOVS/MOVSB/MOVSW
is transferred from the memory register B is copied into the register
Example COMS/COMPSB/COMPSW
address pointed by the register to A, and
MOV AX, [BX] ; Suppose the INS/INSB/INSW
the content of register B remains
the register K. register BX contains 4895H, then the OUTS/OUTSB/OUTSW
unaltered. Similarly, when LDA 2500
Implied addressing mode contents ; 4895H are moved to AX SCAS/SCASB/SCASW
is executed the content of the
This mode doesn’t require any ADD CX, {BX} LODS/LODSB/LODSW
memory
operand; the data is specified by Based addressing mode Processor Control Instructions
location 2500 is loaded into the
the opcode itself. For example: In this addressing mode, the offset These instructions are used to
accumulator. But the content of the
CMP. address of the operand is given by control the processor action by
memory location 2500 remains
the sum of contents of the BX/BP setting/resetting the flag values.
unaltered.
registers and 8-bit/16-bit STC CLC CMC STD CLD STI CLI
System bus Arithmetic Group
displacement. Iteration Control Instructions
A bus is a high-speed internal The instructions of this group perform
Example These instructions are used to
connection. Buses are used to arithmetic operations such as
MOV DX, [BX+04], ADD CL, [BX+08] execute the given instructions for
send control signals and data addition, subtraction; increment or
Indexed addressing mode number of times. Following is the list
between the processor and other decrement
In this addressing mode, the of instructions under this group –
of the content of a register or
components. operands offset address is found by
memory. Examples are: ADD, SUB, LOOP LOOPE/LOOPZ
Three types of bus are used. adding the contents of SI or DI LOOPNE/LOOPNZ JCXZ
INR, DAD etc.
Address bus - carries memory register and 8-bit/16-bit Interrupt Instructions
Logical Group
addresses from the processor to displacements. These instructions are used to call
The Instructions under this group
other components such as primary Example the interrupt during program
perform logical operation such as
storage and input/output devices. MOV BX, [SI+16], ADD AL, [DI+16] execution.
AND, OR, compare, rotate etc.
Based-index addressing mode INT INTO IRET
The address bus is unidirectional. Examples are:
In this addressing mode, the offset
Data bus - carries the data ANA, XRA, ORA, CMP, and RAL etc.
address of the operand is computed
between the processor and other Branch Control Group
by summing the base register to the
components. The data bus is This group includes the instructions
contents of an Index register.
bidirectional. for conditional and unconditional
Example
Control bus - carries control jump, subroutine call and return, and
ADD CX, [AX+SI], MOV AX, [AX+DI]
restart.
signals from the processor to other Based indexed with displacement
Examples are: JMP, JC, JZ, CALL,
components. The control bus also mode
CZ, RST etc.
carries the clock's pulses. The In this addressing mode, the
1/0 and Machine Control Group
control bus is unidirectional. operands offset is computed by
This group includes the instructions
adding the base register contents. An
for input/output ports, stack and
Index registers contents and 8 or 16-
machine control. Examples are: IN,
bit displacement.
OUT,
Example
PUSH, POP, and HLT etc.
MOV AX, [BX+DI+08], ADD CX,
[BX+SI+16]

You might also like