ori $t1, $0, 0 ori $t8, $0, 100 ori $t9, $0, 200 200 sll St2, St1, 2
Control structures
Control structures are block of statements that analyze the value of variables and determine the flow of execution based on those values. When a program is running, the CPU executes the code line by line. After sometime, the program reaches the point where it has to make a decision on whether it has to go to another part of the code or repeat execution of certain part of the code. These results affect the flow of the program's code and these are called control structures.
Switch Statement
The switch statement is a key feature that is used by the programmers a lot in the world of programming and coding, as well as in information technology in general. The switch statement is a selection control mechanism that allows the variable value to change the order of the individual statements in the software execution via search.
IN MIPS NOT C++

![Please complete the following code, which is supposed to be a loop that scans a word
array and exits when the first number in [100, 200] is encountered. This number is to be stored in
$t0. It is guaranteed that such as number exists. The starting address of the array is in $ 0. The
length of the array is in $s1.
ori $t1, $0, 0
ori $t8, $0, 100
ori Şt9, Şo, 200
P2P5LO:
sll $t2, $t1, 2
add St2, $t2, $30
lw $t0, 0 ($t2)
blt $t0,
bgt $t0,](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F80459ea7-faba-4c8a-b993-e315eac32c72%2F22566e16-e065-4c70-bab9-07ae5b32f041%2F0tbd8yn_processed.png&w=3840&q=75)

Step by step
Solved in 2 steps









