retagged by
4,646 views
1 votes
1 votes
Registers R1 and R2 of a computer contains the decimal value 1100 and 500.What is the effective address of the memory operand in each of the following instructions?

i)LOAD  20(R1),R5

ii)MOVE 300,R5

iii)STORE R5,50(R1,R2)

IV)SUBSTRACT(R1)+,R5
retagged by

1 Answer

Best answer
2 votes
2 votes
1.. 20(R1) = Base Indexed addressing = M[ (R1) + 20] = M[ M[1100] +20] ......{ (R1) is register indirect addressing }

EA=M[1100] +20

 

2... 300 is the effective EA

 

3.. 50(R1,R2)  = M[ M[1110]  + M[500] +50]

EA=M[1110]  + M[500] +50

 

4.. (R1) = M[1100]

EA=1100
selected by

Related questions

961
views
1 answers
3 votes
pC asked Jan 20, 2016
961 views
$\sqrt{36_{r1}+25_{r2}}$ = 21r3Find r1 r2 r3.. ?
7.1k
views
2 answers
1 votes
Sara asked Dec 24, 2015
7,129 views
Given two R union compatible relation R1 (A, B) and R2 (C, D) what is the result of the operationR1 A= C AB = D R2?a) R1⋃R2 b) ... c) R1 – R2 d) R1 ∩R2How to solve these kind of questions