What are the advantages and disadvantages of relative addressing?
Advantages:
(i) Since all the address information need not be
include in the instructions, instruction length is reduced.
(ii) By changing the contents of R, the process can
change the absolute addresses referred to buy a block of instructions B. This
address modification permits the processor to move the entire block B from one
region of the main memory to another without invalidating the address in B.
R can be
used for storing indexes to facilitate the processing of indexed data. In this
rile, R is called “indexed register”. The indexed items X (0).
Disadvantages:
(i) The extra logic circuits needed to computer addresses.
(ii) Processing time needed to computer addresses.
No comments
Dear Members, Thanks for Your Comments. We must be reply your comment answer as soon as possible. Please Stay with us.....