Question 8
Consider the following steps to compute the minimum among three numbers. Load the three numbers from memory locations M[0], M[1] and M[2] and store the maximum number in M[3].
Identify the appropriate instructions to fill the blank at step 4 and step 6.
Step 4: If R[0] < R[1] then go to step 5, otherwise go to step 6
Step 6: If R[1] < R[2] then go to step 7, otherwise go to step 8Step 4: If R[0] > R[1] then go to step 5, otherwise go to step 6
Step 6: If R[1] < R[2] then go to step 7, otherwise go to step 8Step 4: If R[0] < R[1] then go to step 5, otherwise go to step 6
Step 6: If R[1] > R[2] then go to step 7, otherwise go to step 8Step 4: If R[0] > R[1] then go to step 5, otherwise go to step 6
Step 6: If R[1] > R[2] then go to step 7, otherwise go to step 8