Which of the following statements about relative addressing mode is FA...
As relative addresses are calculated from absolute addresses, So relative addressing cannot be faster than absolute addressing.
View all questions of this test
Which of the following statements about relative addressing mode is FA...
False Statement: Option D - Relative addressing mode enables faster address calculation than absolute addressing.
Relative Addressing Mode:
Relative addressing mode is a type of addressing mode in computer architecture where the address of an operand is calculated relative to the current value of the program counter (PC) or instruction pointer (IP). In this mode, the operand value is obtained by adding the displacement value to the PC or IP.
Explanation:
A. Enables reduced instruction size:
- In relative addressing mode, the instructions can be encoded with a smaller number of bits compared to absolute addressing mode. This is because the displacement value is typically smaller than the full address.
B. Allows indexing of array element with the same instruction:
- Relative addressing mode allows indexing of array elements by adding a displacement value to the base address of the array. This allows easy access to array elements using a single instruction.
C. Enables easy relocation of data:
- Relative addressing mode enables easy relocation of data because the displacement value can be adjusted when the program or data is moved to a different memory location. The relative address remains the same, and only the base address needs to be updated.
D. Enables faster address calculation than absolute addressing:
- This statement is false. Relative addressing mode requires an additional calculation of adding the displacement value to the PC or IP to obtain the operand address. In absolute addressing mode, the operand address is directly specified in the instruction itself. Therefore, absolute addressing mode typically has a faster address calculation compared to relative addressing mode.
In conclusion, the false statement is option D - Relative addressing mode does not enable faster address calculation than absolute addressing.