开发者

How to assign a number to a floating point register using sparc assembly?

开发者 https://www.devze.com 2022-12-20 01:15 出处:网络
For example, I wa开发者_JAVA技巧nt to assign 0x5 to %f1.How to achieve this?I found the answer myself.

For example, I wa开发者_JAVA技巧nt to assign 0x5 to %f1. How to achieve this?


I found the answer myself.

The solution is save 0x05 in .data section, then load it to %f1.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号