answersLogoWhite

0


Best Answer

Each instruction of a computer specifies an operation on certain data. The are various ways of specifying address of the data to be operated on. These different ways of specifying data are called the addressing modes. The most common addressing modes are:

  • Immediate addressing mode
  • Direct addressing mode
  • Indirect addressing mode
  • Register addressing mode
  • Register indirect addressing mode
  • Displacement addressing mode
  • Stack addressing mode

To specify the addressing mode of an instruction several methods are used. Most often used are :

a) Different operands will use different addressing modes.

b) One or more bits in the instruction format can be used as mode field. The value of the mode field determines which addressing mode is to be used.

The effective address will be either main memory address of a register.

Immediate Addressing:

This is the simplest form of addressing. Here, the operand is given in the instruction itself. This mode is used to define a constant or set initial values of variables. The advantage of this mode is that no memory reference other than instruction fetch is required to obtain operand. The disadvantage is that the size of the number is limited to the size of the address field, which most instruction sets is small compared to word length.

INSTRUCTION

OPERAND

Direct Addressing:

In direct addressing mode, effective address of the operand is given in the address field of the instruction. It requires one memory reference to read the operand from the given location and provides only a limited address space. Length of the address field is usually less than the word length.

Ex : Move P, Ro, Add Q, Ro P and Q are the address of operand.

Indirect Addressing:

Indirect addressing mode, the address field of the instruction refers to the address of a word in memory, which in turn contains the full length address of the operand. The advantage of this mode is that for the word length of N, an address space of 2N can be addressed. He disadvantage is that instruction execution requires two memory reference to fetch the operand Multilevel or cascaded indirect addressing can also be used.

Register Addressing:

Register addressing mode is similar to direct addressing. The only difference is that the address field of the instruction refers to a register rather than a memory location 3 or 4 bits are used as address field to reference 8 to 16 generate purpose registers. The advantages of register addressing are Small address field is needed in the instruction.

Register Indirect Addressing:

This mode is similar to indirect addressing. The address field of the instruction refers to a register. The register contains the effective address of the operand. This mode uses one memory reference to obtain the operand. The address space is limited to the width of the registers available to store the effective address.

Displacement Addressing:

In displacement addressing mode there are 3 types of addressing mode. They are :

1) Relative addressing

2) Base register addressing

3) Indexing addressing.

This is a combination of direct addressing and register indirect addressing. The value contained in one address field. A is used directly and the other address refers to a register whose contents are added to A to produce the effective address.

Stack Addressing:

Stack is a linear array of locations referred to as last-in first out queue. The stack is a reserved block of location, appended or deleted only at the top of the stack. Stack pointer is a register which stores the address of top of stack location. This mode of addressing is also known as implicit addressing.

Read more: http://wiki.answers.com/Explain_the_different_types_of_addressing_modes_in_8085_microprocessor.#ixzz1VB4Smbt3

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Explain the different addressing method with an example each?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is constructor overloading same as method overloading.yes or no. explain?

yes,because in constructor overloading constructor have same and different parameter list. In method overloading method have same name and different parameter list.


Can you explain a quick method for finding out whether a large number is divisible?

There are different divisibility rules for different [potential] divisors.


Is the yoga method used to prevent or treat illness Explain and provide an example?

it is used to prevent and to treat illnesses


Explain the method of translation of historical institutional term?

"Explain the method of translation of historical institutional term?" Institutional term and National institutional term? "Explain the method of translation of historical institutional term?"


Which IP addressing method assigns an IP address to a client manually?

Static IP


Explain the capitalistic method of doing business?

Capitalistic method f doing business is having a business through private means - example, doing business on your own property, with your own resources.


What is IPv4 addressing?

IPv4 is a method of Internet Protocol addressing that is in its 4 version. It is a way for end users and their internet hosts to identify themselves ont he web....basically


What does the transport layer use as an addressing method to identify an application running on a host?

Port Number


What is the point of legos?

1. Explain why email might be the best method in this situation.


Could you explain factors to consider when selecting file organization method?

Here are the factors to consider before choosing a file organisation method; 1. Frequency of update: A file that needs to be updated every now and then needs an organisation method that will allow easy retrieval of information and ease of updating, example of such a file is the transaction file. 2. File activity: Different files have different activities, example a sort file is used to sort data in sequential order and therefore sequential method would be appropriate for such a file. 3. File access method: Definately different files have different methods of being accessed, example a reference file is accessed using random method for easy retrieval of data. 4. Nature of the system: Files that are used in a particular system will depend on the nature of the system i.e the suitable organisation method for that particular system. 5. Masterfile medium: The masterfile is the main file for keeping permanent updates of records from transaction files and other sources, the medium by which it is updated will determine the organisation method to be used.


Why is the persistence method of forecasting limited?

There are several different methods that can be used to create a forecast. ... For example, if it is sunny and 87 degrees today, the persistence method predicts.


What is an example of the survey method used in psychology?

what is an example of the survey method