Question: = = 4.2 We consider the following program in the Instruction Memory related to CPU-S: address 0: LOAD2 (with = 0) address 1: LOAD1 (with

 = = 4.2 We consider the following program in the Instruction

= = 4.2 We consider the following program in the Instruction Memory related to CPU-S: address 0: LOAD2 (with = 0) address 1: LOAD1 (with = 1) address 2: ADD address 3: LOAD2 (with = 1) address 4: STORE address 5: STOP We assume that the Data Memory initially looks as follow address 0:8 address 1: 5 We now consider a computation performed by CPU-S, and weyassume that the initial value in IP is 0. Give the content of the registers DP1, DP2, DR1, DR2, and ACC after each execution of an instruction until the STOP instruction has been completed. [6 marks]

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!