Addressing modes
Different addressing modes are:
- Immediate addressing mode
- Direct addressing mode
- Indirect addresing mode
- Register direct addressing mode
- Register indirect addressing mode
- Displacement addressing mode
6. Displacement addressing mode:
Register
Direct Addressing Mode |
Register
Indirect Addressing Mode |
1. Operand is placed
in register. |
Operand
is placed in Main memory. |
2. Registers are used
to store operands. |
Registers
are used to store address of operand in main memory. |
3. Address field
contains effective address of operand. |
Address
field contains reference to the effective address of operand. |
4. One register
reference for operand. |
Two
register reference for operand. |
5. Fast |
Slow |
6. Easier to access
data |
Complex |
7. Limitation of
address field to store operand address. |
There
is no such limit. |
Direct
Addressing Mode |
Indirect
Addressing Mode |
1. Address field
contains effective address of operand. |
Address
field contains memory location where effective address is present |
2. One memory
reference to access operand |
Two
memory reference to access operand |
3. Fast |
Slow |
4. Address size of
operand is limited to size of address field. |
No
such limitation. Because operand address is stored in main memory. |
5. Less calculation to
access operand |
More
calculation to access operand. |
Immediate
Addressing Mode |
Direct
Addressing Mode |
1. Address field
contains operand |
Address
field contains effective address of operand |
2. Operand is in
address field |
Operand
is present in main memory |
3. No memory reference |
One
memory reference |
4. Fast |
Slow |
5. Operand
size depends on size of address field |
No
limitation on operand size |
Immediate
Addressing Mode |
Indirect
Addressing Mode |
1. Address field
contains operand |
Address
field contains memory reference of operand |
2. There is no memory
reference |
There
is two memory reference |
3. Operand size
depends on size of address field in instruction |
There
is no such limit on operand size |
4. Fast |
Slow |
5. Operand present in
address field |
Operand
is present in main memory |
More topics from Computer Organization to read
Computer Organization and Architecture:
EasyExamNotes.com covered following topics in these notes.
- Structure of desktop computers
- Logic gates
- Register organization
- Bus structure
- Addressing modes
- Register transfer language
- Direct mapping numericals
- Register in Assembly Language Programming
- Arrays in Assembly Language Programming
References:
- William stalling ,“Computer Architecture and Organization” PHI
- Morris Mano , “Computer System Organization ”PHI
Post a Comment
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.