sau 2019 Use floating point comparison instructions learned in Chapter 32 .text .globi חות Svo stringi Byscall 11 syscall set Svo to print string + load the address of stringi Invoke the exception handler. get the 1st float $v0, store the 1st float into $f1 Ting $v0, string 2 Syscall li svo, syscall set $v0 to print string load the address of string2 Invoke the exception handler. get the 2nd float store the 2nd float into $£2 #set $vo to print string load the address of string3 Invoke the exception handler. get the 3rd float li $v0. ting3 syscall svo, syscall # store the 3rd float into $£3 . $fi, $f2 cmpl $11, $f3 f3biggest . printbiggest # compare $f1 and $2 branch to cmp1 if $f1<$£2 otherwise, compare $1 and $f3 # branch to f3biggest if $£1<$13 otherwise, $£1 is the biggest value, move it to $£12 #jump to printbiggest compare $£2 and $f3 # branch to f3biggest if $f2<$f3 otherwise $f2 is the biggest value, move it to $£12 jump to printbiggegst # $f3 is the biggest value, move it to $812 #jump to printbiggest f3biggest ul printbiggest MA A iggest printbiggest: $v0, tring4 set $v0 to print string load the address of string4 Invoke the exception handler. # set $vo to print a floating point number syscall syscall .data stringl: .asciiz “nPlease input the 1st floating point number: string2: .asciiz “Please input the 2nd floating point number: string3: .asciiz “Please input the 3rd floating point number: string4: .asciiz “The biggest floating point number is: 3. (40 points) Complete A11 Q3.asm program to let the use input 3 floating point numbers and output the biggest one. (Chapter 32) Please input the 1st floating point number: 0.1101 Please input the 2nd floating point number:0.11 Please input the 3rd floating point number: 11.123123 The biggest floating point number is:11. – program is finished running (dropped bottom) Show transcribed image text sau 2019 Use floating point comparison instructions learned in Chapter 32 .text .globi חות Svo stringi Byscall 11 syscall set Svo to print string + load the address of stringi Invoke the exception handler. get the 1st float $v0, store the 1st float into $f1 Ting $v0, string 2 Syscall li svo, syscall set $v0 to print string load the address of string2 Invoke the exception handler. get the 2nd float store the 2nd float into $£2 #set $vo to print string load the address of string3 Invoke the exception handler. get the 3rd float li $v0. ting3 syscall svo, syscall # store the 3rd float into $£3 . $fi, $f2 cmpl $11, $f3 f3biggest . printbiggest # compare $f1 and $2 branch to cmp1 if $f1
Expert Answer
Answer to sau 2019 Use floating point comparison instructions learned in Chapter 32 .text .globi חות Svo stringi Byscall 11 sys…