32 bit: push eax invoke OutputDebugStringA,addr szTextA pop eax no error...
64 bit: push rax invoke OutputDebugStringA,addr szTextA pop rax run error...
... .const szTextA CHAR "jwasm",NULL .code ... push rax invoke OutputDebugStringA,addr szTextA pop rax
invoke MessageBoxA,NULL,NULL,NULL,MB_OK
...
In 64-bit, you must be careful with push/pop if you used OPTION WIN64:2 in your source. See warning in the documentation for more details.
Log in to post a comment.
...
.const
szTextA CHAR "jwasm",NULL
.code
...
push rax
invoke OutputDebugStringA,addr szTextA
pop rax
...
In 64-bit, you must be careful with push/pop if you used OPTION WIN64:2 in your source. See warning in the documentation for more details.