Question: Write a MIPS assembly program that adds two positive singleprecision floating point numbers held in $s0 and $s1. Do not use any of the MIPS
Write a MIPS assembly program that adds two positive singleprecision floating point numbers held in $s0 and $s1. Do not use any of the MIPS floating-point instructions. You need not worry about any of the encodings that are reserved for special purposes (e.g., 0, NANs, etc.) or numbers that overflow or underflow. Use the SPIM simulator to test your code. You will need to manually set the values of $s0 and $s1 to test your code. Demonstrate that your code functions reliably.
Step by Step Solution
3.40 Rating (156 Votes )
There are 3 Steps involved in it
define the masks in the global data segment data mmask word 0x007FFFFF emask word 0x7F800000 ibit wo... View full answer
Get step-by-step solutions from verified subject matter experts
