- 1 Annotate The Following Mips Instructions To Indicate Source Registers And Destination Registers A Source Register Is 1 (34.85 KiB) Viewed 42 times
1. Annotate the following MIPS instructions to indicate source registers and destination registers. A source register is
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
1. Annotate the following MIPS instructions to indicate source registers and destination registers. A source register is
1. Annotate the following MIPS instructions to indicate source registers and destination registers. A source register is read during the instruction's execution, while a destination register is written during the instruction's execution. (12 points) 1. add $t1,$t2, $t3 2. sub $t1,$t2, $t1 3. addi $t4, Szero, 100 4. lw $t1, 8(Sgp) 5. sw $t3, 12($s4) 6. bne $sl, $s2, loop! hint: Register Sgp ($28) is a global pointer that points into the middle of a 64K block of memory in the heap that holds constants and global variables. The objects in this heap can be quickly accessed with a single load or store instruction. program that declares global integer variables x, y, z[10] (z is an