MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER ARCHITECTURE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
In the following indexed addressing mode instruction, MOV 5(R1), LOC the effective address is ____
A
EA = 5+R1
B
EA = R1
C
EA = [R1]
D
EA = 5+[R1]
Explanation: 

Detailed explanation-1: -In the following indexed addressing mode instruction, MOV 5(R1), LOC the effective address is A. EA= [R1] EA= 5+R1 C. EA= 5+[R1] EA=R1 B. D. Transcribed Image Text:In the following indexed addressing mode instruction, MOV 5(R1), LOC the effective address is .

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: -d) 5*([R1]+[R2]) Explanation: The addressing mode used is base with offset and index.

Detailed explanation-4: -Relative Addressing Mode EA = A + (PC), where EA is effective address and PC is program counter.

There is 1 question to complete.