retagged by
10,304 views
–1 votes
–1 votes

An instruction is stored at location 300 with its address fields at location 301. The address field has the value 400. A processor register RI contain the number 200.

Evaluate the effective address if the addressing mode of the instruction is (a) Direct (b) Immediate (c) Relative (d) Register Indirect (e) Index with RI as the Index register.

retagged by

1 Answer

Best answer
5 votes
5 votes
a. Direct Addressing, Addess is given in instruction, so EA = 400
b. Immediate Addressing, Value is given in Instruction, so EA is the address of the address filed of the instruction. EA = 301
c. Relative Addressing, EA = Next Instruction Address - 400 For PC relative (Base relative also possible). So, probably 304 - 400 = -negative?
d. Register indirect, EA = ?
e. Index, EA = 200 + 400 = 600.
selected by

Related questions

378
views
0 answers
0 votes
LavTheRawkstar asked Nov 4, 2016
378 views
What is the difference between Loosely Coupled microprocessor System and Tightly Coupled microprocessor system in simple words please tell and explain please??
17.0k
views
2 answers
4 votes
LavTheRawkstar asked Nov 26, 2016
16,959 views
A digital computer has a memory unit of 64K x 16 and a cache memory of 1K words. The cache uses direct mapping with a block size of 4 words.a. How many bits are there in ...
19.9k
views
1 answers
1 votes
LavTheRawkstar asked Nov 3, 2016
19,935 views
A digital computer has a common bus system for 16 registers of 32 bits each. The bus is constructedwith multiplexers.[i] How many selection inputs are there in each multi...
14.7k
views
1 answers
3 votes
LavTheRawkstar asked Nov 3, 2016
14,697 views
Starting from an initial value of R=11011101, determine the sequence of binary values in R after a logical shift-left, followed by a circular shift-right, followed by a l...