retagged by
14,762 views
56 votes
56 votes

Which of the following statements about relative addressing mode is FALSE?

  1. It enables reduced instruction size
  2. It allows indexing of array element with same instruction
  3. It enables easy relocation of data
  4. It enables faster address calculation than absolute addressing
retagged by

3 Answers

Best answer
84 votes
84 votes
  1. is true as instead of absolute address we can use a much smaller relative address in instructions which results in smaller instruction size.
     
  2. By using the base address of array as displacement and index in a base register (base relative addressing mode) we can index array elements using relative addressing. Ref: http://service.scs.carleton.ca/sivarama/asm_book_web/Instructor_copies/ch5_addrmodes.pdf
  3. is true as we only need to change the base address in case of relocation- instructions remain the same.
     
  4. is false. Relative addressing cannot be faster than absolute addressing as absolute address must be calculated from relative address. With specialized hardware unit, this can perform equally as good as absolute addressing but not faster.

Correct Answer: $D$

selected by
9 votes
9 votes

(A) is true as instead of absolute address we can use a much smaller relative address in instructions which results in smaller instruction size.

(B) By using the base address of array we can index array elements using relative addressing.

(C) is true as we only need to change the base address in case of relocation- instructions remain the same.

(D) is false. Relative addressing cannot be faster than absolute addressing as absolute address must be calculated from relative address. With specialized hardware unit, this can perform equally as good as absolute addressing but not faster. 

1 votes
1 votes
Relative address means an address specified by indicating its distance from another address, called the base address.
In absolute addressing, you specify the actual address (called the absolute address) of a memory location.
Answer:

Related questions

24 votes
24 votes
3 answers
1
Ishrat Jahan asked Oct 31, 2014
14,312 views
The addition of $4-bit$, two's complement, binary numbers $1101$ and $0100$ results in$0001$ and an overflow$1001$ and no overflow$0001$ and no overflow$1001$ and an over...
40 votes
40 votes
3 answers
2
Ishrat Jahan asked Oct 31, 2014
17,136 views
The memory locations $1000,1001$ and $1020$ have data values $18,1$ and $16$ respectively before the following program is executed.$$\begin{array}{ll} \text{MOVI} & \text...
7 votes
7 votes
4 answers
4
Desert_Warrior asked Jun 3, 2016
6,138 views
In which addressing mode, the effectives address of the operand is generated by adding a constant value to the content of a register?Absolute modeIndirect modeImmediate m...