CprE 381 Homework 2
[Note: This homework gives you practice with MIPS assemblylanguage. When you are asked to provide a program, try running iton SPIM/MARS to confirm it works. SPIM/MARS can also check yourunderstanding of code tracing, etc. Plus you get more practice withthe tools.]
1. MIPS Control Flow a. Assume $t0 holds the value 0x10000000and $t1 holds the value 0xFFFFFFFF. What is the value of $t2 afterthe following instructions? sltiu $t2, $t0, $t1 bne $t2, $0, SMALLaddiu $t2, $t1, 1 j EXIT SMALL: add $t2, $t2, $t1 EXIT: b.Translate the following C-style loop into MIPS assembly, assuming ais in $s0, c
PayPal Gateway not configured
PayPal Gateway not configured