For the following assembly language programming snippet: lui $t0,245 ori $t0,$t0,312 addi $t1,$t0,32 $t2,5 $t3,16 LOOP: slt $t3,$t0,$t2 li li beq $t3,$zero, ENDLP $t4,0($t0) $t4,0($t1) addi $t0,$t0,4...


help wtith hw


For the following assembly language programming snippet:<br>lui $t0,245<br>ori $t0,$t0,312<br>addi $t1,$t0,32<br>$t2,5<br>$t3,16<br>LOOP: slt $t3,$t0,$t2<br>li<br>li<br>beq $t3,$zero, ENDLP<br>$t4,0($t0)<br>$t4,0($t1)<br>addi $t0,$t0,4<br>addi $t1,$t1,4<br>j LOOP<br>lw<br>SW<br>ENDLP:<br>Answer the following parts of this question, and please do not provide any answers that are more<br>than 1 sentence long:<br>a) Which instruction causes the loop to repeat until it stops executing?<br>b) Which instruction will be the last instruction executed in the loop that causes the loop to stop<br>executing?<br>c) Which register or registers are being used by the program and never have it or their contents<br>changed inside the loop?<br>

Extracted text: For the following assembly language programming snippet: lui $t0,245 ori $t0,$t0,312 addi $t1,$t0,32 $t2,5 $t3,16 LOOP: slt $t3,$t0,$t2 li li beq $t3,$zero, ENDLP $t4,0($t0) $t4,0($t1) addi $t0,$t0,4 addi $t1,$t1,4 j LOOP lw SW ENDLP: Answer the following parts of this question, and please do not provide any answers that are more than 1 sentence long: a) Which instruction causes the loop to repeat until it stops executing? b) Which instruction will be the last instruction executed in the loop that causes the loop to stop executing? c) Which register or registers are being used by the program and never have it or their contents changed inside the loop?

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here