0
I'm trying to implement division of two numbers in MIPS, and I'm supposed to do the following: 10.0/2.5
The code I'm trying is below one
.data float1 : .float 2.5 # declaring the floating values float2 : .float 10.0 # declaring the floating values .text main : l.s $f2, float1 # loading the floating values to regester l.s $f3 , float2 # loading the floating values to regester li $v0,2 div.s $f1 , $f3 , $f2 syscall
https://stackoverflow.com/questions/66740225/error-in-mips-division-with-single-precision-floating-point-numbers March 22, 2021 at 12:08PM
没有评论:
发表评论