I wrote the following function with POASM.
.data
value REAL8 2.026119
.code
my_cos proc
push ebp
mov ebp, esp
fld qword ptr [value]
fcos
pop ebp
ret
my_cos endp
I wonder if I can declare "value" inside function body.
I tried fld 2.026119 and I got the error "Invalid combination of opcode and operands (or wrong CPU setting)."