MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER ARCHITECTURE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which type of addressing mode is used inLoad R2, 1000(R5)
A
Index mode
B
Immediate mode
C
Absolute mode
D
Register mode
Explanation: 

Detailed explanation-1: -d) 5*([R1]+[R2]) Explanation: The addressing mode used is base with offset and index.

Detailed explanation-2: -In the indexed addressing mode, the content of a given index register gets added to an instruction’s address part so as to obtain the effective address. Here, the index register refers to a special CPU register that consists of an index value.

Detailed explanation-3: -Here are the addressing modes discussed: Immediate: The operand is included in the instruction. Direct: The effective address of the operand in memory is part of the instruction. Indirect: The instruction contains a memory address, which contains the effective address of the operand in memory.

There is 1 question to complete.