I need help underdstnading this RTL problem set. Any help is appreciated, but ex
ID: 3747160 • Letter: I
Question
I need help underdstnading this RTL problem set. Any help is appreciated, but explanations as to why each answer is what it is would be even more appreciated
Based on the contents of the registers and memory locations below, provide the results for the following Register Transfer Language (RTL) expressions. All the numbers provided are given in decimal including the address locations. Note the values DO NOT reset for each problem. When the value for memory or a register is changed it effects the rest of the problem Registers Register Contents MAR 1004 MBR unknown PC 1004 IR unknown RO 2121Explanation / Answer
1. [PC] <--- [PC] + 4 //This means Contents of PC register + decimal value 4
1004 + 4 //Contents of PC register is 1004
1008
2. [IR] <--- [[MAR]] //This means Contents of [MAR] register IS 1004
[1004]
3. [R0] <--- [[1005] + [1006]] //This means Contents of MEMORY[1005] + MEMORY[1006]
[ 1010 + -3 ] // Substuting the values of 1005 and 1006
[1010 - 3] // performing subraction
[1007] //result os subtracted value
0 // The value of MEMORY[1007] =0
4. [MAR]<--- [PC] // PC Register value is modified in question 1 is 1008
1008
5. [MBR]<--- [[MAR]] //This means Contents of [MAR] register is modified in question 4
[1008] //This means Contents of MEMORY[1008] is 1005
1005
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.