Which of the following statements about relative addressing mode is FALSE?
2006
Which of the following statements about relative addressing mode is FALSE?
- A.
It enables reduced instruction size
- B.
It allows indexing of array elements with same instruction
- C.
It enables easy relocation of data
- D.
It enables faster address calculations than absolute addressing
Attempted by 320 students.
Show answer & explanation
Correct answer: D
Correct answer: It enables faster address calculations than absolute addressing — FALSE
Explanation:
It enables reduced instruction size: True. Relative addressing stores offsets rather than full addresses, so fewer bits are often needed in the instruction.
It allows indexing of array elements with the same instruction: True (practically). Because elements are at fixed offsets from a base, the same instruction form can be used to access different elements by changing the offset or by using an index in combination with the base. This is distinct from a dedicated indexed addressing mode but achieves similar access patterns.
It enables easy relocation of data: True. Offsets remain valid when code/data is moved, so the code becomes position-independent or easier to relocate.
It enables faster address calculations than absolute addressing: False. Relative addressing requires computing the effective address by adding the offset to a base (such as the program counter). Absolute addressing provides the full address directly; relative addressing does not inherently reduce the work for address calculation and can require the same or additional operations.