![7.5 LAB: Max of 3 - branch Write a program that stores the maximum of three values. The values are stored in $s0, $s1, and $s2. Store the result in $s3. Ex: If the values of $s0, $s1, and $s2 are initialized in the simulator as: - $s0 = 1 - $s1 = 5 - $s2 = 3 The result is stored in $s3. Note: Use the '+' button under the Registers display to initialize register values for $s0, $s1, and $s2.](https://gotit-pro.com/wp-content/uploads/2023/10/4a215411-5402-4c9b-a2c1-1bcd5ff2d952.png)
7.5 LAB: Max of 3 – branch
Write a program that stores the maximum of three values. The values are stored in $s0, $s1, and $s2. Store the result in $s3.
Ex:
If the values of $s0, $s1, and $s2 are initialized in the simulator as:
– $s0 = 1
– $s1 = 5
– $s2 = 3
The result is stored in $s3.
Note: Use the ‘+’ button under the Registers display to initialize register values for $s0, $s1, and $s2.
Solved By Verified
Study Co-Pilot
All Study Co-Pilots are evaluated by Gotit Pro as an expert in their subject area.
![](https://gotit-pro.com/wp-content/uploads/2021/05/info.png)
Instant
Download
Student review: (6 ratings) 6 out of 6 people found this solution helpful.