;nasm -f win32 prog.asm;golink /dll prog.obj ntdll.dll;(ignore the warning)global myfunction1export myfunction1extern RtlInterlockedCompareExchange64section .textmyfunction1: push eax ;just guessing the arguments. push ebx push ecx call RtlInterlockedCompareExchange64 ret
fdivp st1, st0