Question: 1. (a) Explain why it is important for processor designers to release ISA specifications. (10%) (b) Figure I shows the MIPS assembly of a short

1. (a) Explain why it is important for processor designers to release ISA specifications. (10%) (b) Figure I shows the MIPS assembly of a short C-code function. funct: addiu $sp,$sp,-8 sw $fp, 4 ($sp) move $fp,$sp sw $4,8 ($fp) lw $t2,8 ($fp) nop slt $t2, $t2,4 bne $t2, 90, $L2 nop li $t2,1 j $L3 nop SL2: li $t2,2 $L3: move $sp,$fp lw $fp, 4 ($sp) addiu $sp,$sp, 8 Sra Figure 1. MIPS Assembly Code of 'Function (i) Describe each of the 5 assembly code blocks (denoted by a line space) in Figure 1 and give the C-code function. (20%) If the C-code was extended to be used with an array, what MIPS instructions would be used to load the address 0x80042001 into t2. 110%]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
