Question: 1. For the following C statement, what is the corresponding MIPS assembly code? Assume that the base addres of the integer (32bits) array A and

1. For the following C statement, what is the corresponding MIPS assembly code? Assume that the base addres of the integer (32bits) array A and B are in registers $s7 and $56, repectlively. A. Iw Sto, 241556); addi Sto, $t0,1; sw $t0,12(557) B. lw $t0, 24(557); addi $t0,$t0,1; sw $t0,12(556) C. lw $t0, 5($56); add Sto, $t0,1; sw Sto, 2(557) D. lw $t0, 201557); addi $t0,$t0,1; sw $t0, 81556) 2: What are the corresponding type of the following MIPS code: add $t5, $t5, -1 jlabel Sw Sto, 8($s3) A. R-type, J-type, I-type B. I-type, I-type, J-type B. R-type, I-type, J-type D. I-type, R-type, i-type 3. For the statement f=b+C+9, which is the corresponding MIPS assembly code? Assume that the variables a, b and f are given and could be considered 32-bit integers as declared in a C program. Use a minimal number of MIPS assembly instructions (no subtraction instruction) A. add f, a, b; addi f, f, -9 B. add f, b, c; addi f, f, 9 C. addif, a, b; addi f,f, -9 D. addif, b, c; addi, f, f,9 4.pipelining is the based on the idea of spetial parallelism(true or false)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
