...
Question 13879 – UGC NET JRF November 2020 Paper-2
November 18, 2023
Question 17089 – NTA UGC NET JUNE-2023 Paper-2
November 18, 2023
Question 13879 – UGC NET JRF November 2020 Paper-2
November 18, 2023
Question 17089 – NTA UGC NET JUNE-2023 Paper-2
November 18, 2023

Question 1882 – Nielit Scientist-B 17-12-2017

A two word instruction is stored in a location A. The operand part of instruction holds B. if the addressing mode is relative, the operand is available in location

Correct Answer: A

Question 60 Explanation: 
It is given that instruction size is 2 words, and it’s starting address is A.
When executing the present instruction program counter gets incremented to the address of the next instruction.
So, latest value in PC=A+2.
In the instruction operand value is B, which is used as a offset for the effective address calculation.
So, Effective address= Program counter + Offset.
Here Program counter= A+2, Offset = B
Effective address= A+2+B
A
A+B+2
B
A+B+1
C
B+1
D
A+B
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!