Question: Each entry in the following table has code and also shows the contents of various registers. The notation ($s1) shows the contents of a memory

Each entry in the following table has code and also shows the contents of various registers. The notation “($s1)” shows the contents of a memory location pointed to by register $s1. The assembly code in each table is executed in the cycle shown on parallel processors with a shared memory space.a. Processor 1 11 $t1, 0($s1) sc $t0, 0($s1) Processor 2 Cycle 0 1 2 3 4 11 $t1, 0($s1) sc $t0, 0($s1)b. Processor 1 11 $t1,0($s1) sc $t0,0($s1) Processor 2 11 $t1,0($s1) addi $t1,$t1,1 SC $t1,0 ($s1) Cycle 0 1

Fill out the table with the value of the registers for each given cycle.

a. Processor 1 11 $t1, 0($s1) sc $t0, 0($s1) Processor 2 Cycle 0 1 2 3 4 11 $t1, 0($s1) sc $t0, 0($s1) Processor 1 $t0 2 $t1 1 Mem ($s1) 99 Processor 2 $to 40 $t1 30

Step by Step Solution

3.36 Rating (165 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Here is the filledout table with the values of the registers for each given cyc... View full answer

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 Computer Organization Design Questions!