flat assembler
Message board for the users of flat assembler.
Index
> Windows > fastcall and RSP usage |
Author |
|
revolution 03 Nov 2016, 02:36
Any usage of RSP is not guaranteed to work. Basically if you use RSP then it is your own responsibility to make sure you get what you intend. This caveat the same for any call method; ccall, stdcall, etc.
|
|||
03 Nov 2016, 02:36 |
|
system error 03 Nov 2016, 02:40
hmmm... okay. Thanks mom.
|
|||
03 Nov 2016, 02:40 |
|
revolution 03 Nov 2016, 05:59
If you still want to use RSP directly and take advantage of the fastcall macro you could do this:
Code: mov rdx,rsp fastcall [printf],fmt,rdx |
|||
03 Nov 2016, 05:59 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.