Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

question 6 only a. Slt $t1, $t0, $0 b. Slt $t0, $0, $t1 c. Slt $t1, $t0, $t0 l V

ID: 3912279 • Letter: Q

Question

question 6 only

a. Slt $t1, $t0, $0

b. Slt $t0, $0, $t1

c. Slt $t1, $t0, $t0

l Verizon 9:38 PM 97% ? mail-attachment.googl eusercontent.com The principle that items near those accessed recently are likely to be accessed soon is known as Selected Answer: B. spatial locality Question 5 0 out of 11 points A program consists of a large number of instructions with the following mix: 40% ALU 10% store 20% load (of which 50% have values used in the next instruction) 20% branch (determined in the ID stage, taken 40% of the time and no prediction is done) . . 1096 jump (determined in the ID stage) For the pipelined CPU, what is the formula to determine the actual CPI based on these numbers? Selected Answer: 40%(1) + 10%( 1 ) + 20%(50%)(1) + 20%(50%)(2) + 20%(60%)(2) + 20% (40%)(1) + 10962) Question 6 11 out of 11 points The following code is supposed to set $t0 to 3 if $t0 beq $t1, $0, skip ori St0, $0, 3 end skip: ori $t0, $0, 0 end: https://myasucourses. asu.edu/webappsiassessmentreview/review.jsp?attempt id- 96827241-1&course;_id=?356632 18content id- 15815967 1&outcome; 6/21/2018 Review Test Submission: EEE230 FINAL EXAM S17C-.. Question 7 11 out of 11 points In the 5-stage pipelined CPU, in what stage is the control determined?

Explanation / Answer

Q6

SLT : Set on less than

example

slt $d, $s, $t

if $s is less than $t then d is set to 1 else 0

Hence t1 should be 1 when t0 is less than 0 then it will be set to 3 based on next instruction

So the correct instruction would be $t1,$t0,0

Do give a thumbs up