Question: 2 . ( 2 5 pts ( ) ) Sum of three integers stored in the memory ( like in the lecture .

2.(25 pts\()\) Sum of three integers stored in the memory (like in the lecture ...)
(a) Specify memory location using: [ la ]
(b) Load immediate Integer-1 to Register: [\$t1]
(c) Load immediate Integer-2 to Register: [\$t2]
(d) Load Immediate Integer-3 to Register: [\$t3]
(e) Store Integer-1 to Memory
(f) Store Integer-2 to Memory
(g) Store Integer-3 to Memory
(h) Load Integer-1 from Memory to Register: [\$t4]
(i) Load Integer-2 from Memory to Register: [\$t5]
(j) Load Integer-3 from Memory to Register: [\$t6]
(k) add: Integer-1+ Integer-2+ Integer-3: [\$t7]
(l) Store the result of the addition again to memory
(m) Load the result of the addition to register: [\$t8]...(DONE)
- Provide a screenshot with decimal result (REGISTERS-FILE).
- At the end of the problem clearly state the result (decimal)
2 . ( 2 5 pts \ ( ) \ ) Sum of three integers

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!