COMPUTER SCIENCE AND ENGINEERING
COMPUTER ARCHITECTURE
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Indirect addressing mode
|
|
Index addressing mode
|
|
Relative addressing mode
|
|
Offset addressing mode
|
Detailed explanation-1: -Indirect addressing: In this, the address field of instruction gives the address where an effective address is stored. It is helpful to handle pointers.
Detailed explanation-2: -In a higher-level language, we refer to it as pointers. We denote the indirect mode by placing the given register inside a parenthesis. In this case, the effective address refers to the content of the memory location that is present in the available register.
Detailed explanation-3: -The direct addressing mode contains the concerned operand in the instruction code’s address field. In the case of an indirect addressing mode, the operand’s address stays in the address field of any instruction. It requires no memory references for accessing the data.
Detailed explanation-4: -One use of indirect addressing is to supply a way of circumventing short address field limitations since the first memory reference provides a full word of address size. Another use is as a pointer to a table.
Detailed explanation-5: -Indirect addressing is a scheme in which the address specifies which memory word or register contains not the operand but the address of the operand. For example: 1) LOAD R1, 100 Load the content of memory address stored at memory address 100 to the register R1.