Question: Consider the following Super Simple CPU program. Trace the code and determine what the final values in Mem[11] (memory location 11), Mem[12], and Mem[13] will

Consider the following "Super Simple CPU" program. Trace the code and determine what the final values in Mem[11] (memory location 11), Mem[12], and Mem[13] will be after the program has executed. The original values are given

Consider the following "Super Simple CPU" program. Trace the code and determine

12 Accumulator Mem Mem [12] 5 Mem [13] 0 0 2 TOP SUB JZR ING STO JMP XX STO STP YY STP 11 12 13 LOD 11 XX YY 12 TOP LDI 13 1 STO 13 DAT DAT DAT 2 5 0

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 Databases Questions!