wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Which of the following addressing modes permits relocation without any change?

A
Indirect addressing
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
Indexed addressing
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
Base register addressing
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
PC relative addressing
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is C Base register addressing

Base register addressing modes permits relocation without any change.

Base register addressing:-In this mode, content of base register is added to the address part of the instruction to obtain effective address. A base register is assumed to hold a base address and the address field of the instruction gives a displacement relative to the base address with a base register, the displacement values of the instruction do not have to change only the value of the base register requires updating to reflect the beginning of a new memory of constant.

Base addressing, a register points to the base of the structure and the effective address is obtained by computing an offset from the base. The base address register can be loaded at run time to point to the base of the structure so the code doesn't have to be modified.


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Administration Reforms
CIVICS
Watch in App
Join BYJU'S Learning Program
CrossIcon