The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+2 votes
628 views
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 :

A. A+B+2

B.A+B+1

C.B+1

D.A+B

 

Explain with diagram.
asked in CO and Architecture by Active (1.7k points) | 628 views
0
A???
+4

Here we use concept of effective address.

EA = PC + operand part

after fetching instruction PC will be incremented by 2

Hence PC = A+2

operand part = B.

Hence effective address = A+B+2.

0
why we are adding operand???since when did this started to happen?? can you please make a diagram of this

Please log in or register to answer this question.

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
49,811 questions
54,529 answers
188,403 comments
75,480 users