Question: Make an assembly program that shows the Nan divide the Greatest Number by 0 Print the result of division Elaborate on the numbers on the
Make an assembly program that shows the Nan
divide the Greatest Number by
Print the result of division
Elaborate on the numbers on the register $f
and $t based on the IEEE format
Is this Nan? why?
text
globl main
main:
li $v # print floating service code
li $t
mtc $t $f # $t;
cvtsw $f $f
div.s $f $f $f # Largest Number
li $v
mfc $t $f
mov.s $f $f
syscallMake an assembly program that shows the Nan
divide the Greatest Number by
Lab
Check out the floating numbers in
QtSpim
Show the program result as a screen shot
and
Elaborate on the register value with IEEE
format
Print the result of division
Elaborate on the numbers on the register $ $
and $t based on the IEEE format
Is this Nan? why?
text
globl main
main:
li $ # print floating service code
li $ to
mtc $t $f$ to ;
cvtsw $f $f
div.s $f $f $f # Largest Number
li $
mfc $t $f
mov.s $f $f
syscall
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
