Nat*_*man 2 floating-point x86 assembly
I need to multiply an integer (two's compliment) by a floating point constant. Here is what I have:
.data
pi dd 3.14
int dd 0ah
.code
fld pi
???
fmul ST(1), ST
Run Code Online (Sandbox Code Playgroud)
How can I convert int to a floating point value for multiplying against pi?