In MIPS Assembly, how do I truncate to two decimal places if I have a floating point value X.YZDEF i

Posted by Roger on Stack Overflow See other posts from Stack Overflow or by Roger
Published on 2010-04-06T00:04:26Z Indexed on 2010/04/06 0:13 UTC
Read the original article Hit count: 683

Filed under:
|
|
|

If I have a value in an "f" register in MIPS, how do I truncate this down to X.YZ from X.YZDEF? Supposedly, you must convert from the float to two ints and display those... How is this done?

© Stack Overflow or respective owner

Related posts about mips

Related posts about assembly