Answer the question
In order to leave comments, you need to log in
How to write an equation in assembler?
I'm trying to get into the assembler, but I can't understand why I get a crooked scene as a result?
scene2 proc x, y, z:DWORD
;cos(sin(x-fi)*fi)
fld x
fsub fi
fsin
fld fi
fmul
fcos
mov eax, z
fstp dword ptr [eax]
ret
scene2 endp
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question