CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
3
You visited us 3 times! Enjoying our articles? Unlock Full Access!
Question

In which addressing mode, the effective address of the operand is generated by adding a constant value to the contents of a register?

A
Absolute mode
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
Indirect mode
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
Immediate mode
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
Index mode
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
E
None of the above
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is D Index mode

In Index mode addressing mode, the effective address of the operand is generated by adding a constant value to the contents of a register.

The address of the operand is obtained by adding to the contents of the general register (called index register) a constant value. The number of the index register and the constant value are included in the instruction code. Index Mode is used to access an array whose elements are in successive memory locations. The content of the instruction code, represents the starting address of the array and the value of the index register, and the index value of the current element. By incrementing or decrementing index register different element of the array can be accessed.

The term addressing modes refers to the way in which the operand of an instruction is specified. Information contained in the instruction code is the value of the operand or the address of the result/operand.


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