Answered step by step
Verified Expert Solution
Question
1 Approved Answer
MIPS : Mulitply float! I write code that mulitply float(0.1) and float (0.1) i expect print 0.01 but, print 0.010000001 why?? how to reusult will
MIPS : Mulitply float!
I write code that mulitply float(0.1) and float (0.1)
i expect print 0.01
but, print 0.010000001 why??
how to reusult will be 0.01?
below is my code
.data
floating : .float 0.1
int : .float 0.1
.text
.globl main
main:
l.s $f1,floating
l.s $f2, int
mul.s $f12,$f1,$f2
li $v0,2
syscall
li $v0,10
syscall
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started