Question: QUESTION 7 6. The program computes the multiplication of two single precision floating point values and prints the produce. Please complete the program based on

QUESTION 7 6. The program computes the multiplication of two single precision floating point values and prints the produce. Please complete the program based on the given system service table. (10 points) Service print integer print foat print double print string read ineger reed foat ead double Code in Sv Returned Value Sa0-integer Sa0address of string 90 ? integer Sto-floa STO $1)-double S0bufer address Sa1buflor length road string alocate memory 0number of bytes Sv0-address 10 text globl main e compute the product of two single precision floating point values main; f2. +load vall to register fi # load va12 to register f2 print string .The product is: syscall $f1, 8f2 # compute f1"f2 eprint fi f2 syscall 14 syscall vo,10 code 10 "" exit Return to 0s. data vali float 2.0 val2.float 0.5 efloating point valuel eloating point value2 string: .asc11z "The product 1s:Vn
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
