Midterm 1 Review Quiz

Assume that the address of a0 is in s0 and the

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: paths has better instruction throughput, as measured in the average number of instructions completed per cycle? Show your work. Question 4 [10 points]. Translate the following snippet of C code to MIPS. Assume that the address of A[0] is in $s0, and the variable i is in $s1. Your code should not modify these two registers. Also assume that A is an array of integers. // C code to translate A[i]++; Your name: _______________________________________________...
View Full Document

Ask a homework question - tutors are online