Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fld dword ptr [Xangle] //Load Xangle in ST(0)
- fsincos //ST(0) = Sin(Xangle) and ST(1) = Cos(Xangle)
- fmul dword ptr [wobbleSize] //push wobbleSize on the stack, ST(0) = wobbleSize, ST(1) = Sin, ST(2) = Cos
- fiadd dword ptr[x] //ST(0) = ST(0)+ x
- fistp dword ptr[imXi] //imXi = rounded integer of ST(0) and pop the stack
- fmul dword ptr [wobbleSize]
- fiadd dword ptr[y] //ST(0) = ST(0)+ y
- fistp dword ptr[imYi] //imXi = rounded integer of ST(0) and pop the stack
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement