retagged by
3,615 views

2 Answers

Best answer
3 votes
3 votes

1). 1 instruction fetch, 1 fetching from indexed location and 1 to store into indexed location

Total 3 memory references .

2 ).   1 instruction fetch, 1 fetching from indirect location and 1 to store into indirect location

Total 3 memory references .

selected by
0 votes
0 votes

(a)ADD 50(R­1),R

one for accessing R2,

one for acessing R1 and then adding 50+(R1) ---1 for execution and then again accessing 50+(R1)...so total 3fetches + 1 execution

b)SUB (R­1)+R­

one for accessing R2,

one for acessing R1 and then again accessing (R1)...so total 3 fetches + 0 executes

considering (R­1) as register indirect mode

Related questions

0 votes
0 votes
0 answers
2
rahuldb asked Nov 17, 2016
656 views
A computer has 70 instructions. For executing each instructin max steps required are 18.What will be the specification of instruction and step counter decoder used in har...
0 votes
0 votes
1 answer
3
3 votes
3 votes
1 answer
4
hem chandra joshi asked Aug 17, 2017
16,595 views
How many total bits are required for a direct mapped cache with 16 KB of data and 4-word blocks , assuming a 32-bit address ?