0% found this document useful (0 votes)
25 views2 pages

MPMC 2022

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)
25 views2 pages

MPMC 2022

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/ 2

What are the different addressing modes in 8085 microprocessor?

In 8085 microprocessor , when a program is written - different instructions are written one by one
and this program is being stored in the RAM (memory) which is connected to it . But there a no. of
instrutions available in 8085 ( to be precise there are 246 different opcode available in 8085 ) . And
the 8085 simply fetches this Opcode ( binary data corresponding to the low level programming
instruction written by user in Mnemonics ) . Then it decodes it within itself ( which means control
doesn’t goes out of the processor ) . And as we know What a processor does is to takes some data
and process it and provide the result in some way .

The way in which this data is provided to 8085 or any processor in any instruction is called its
addressing mode . That is , if the data is provided immediately in the instruction only it will be called
as Immediate Addressing Mode . But as 8085 does different types of Airthmatic & logical
opereations , there are no. of ways to it is directed for data in different instructions . So by this , 8085
has 6 addressing modes -

1. Register addressing mode

2. Immediate addressing mode

3. Direct addressing mode

4. Indirect register add. mode/ indirect add. mode/ Register indirect add. mode

5. Implicit addressing mode

REGISTER ADDRESSING MODE-

If the address of the data is given in the form of register ( i.e. A ,B, C, D, E, H, L, etc ) , then reg. add.
mode .

eg: MOV B C

Here the data stored in register C is coppied/moving to register B.

IMMEDIATE ADDRESSING MODE-

In this instruction , data (to be executed ) itself is given in the instruction .

Eg: MVI B 46

Here the data 46H i.e. 01000110 ( this is binary equivalent of 46H which is in Hexadecimal format ) is
stored in register B.

DIRECT ADDRESIING MODE -

In this instruction , address of the data ( to be executed ) is directly given in the instruction .

eg: IN 58H

Here the data present at the input port 58H is directly coppied to Accumulator register.

INDIRECT ADDRESSING MODE -

In this type of instruction , address of the data ( to be executed ) is provided in the form of data
stored in some register .

eg: MOV C M
Here the data present at the memory address whose location is equal to the content of HL register
pair is coppied to C register .

IMPLICIT ADDRESSING MODE -

in these type of instructions , the data to be executed is not provided at all rather it is already
defined in the Opcode .

eg: CMA

here the content of accumulator is complemented .

You might also like