flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > 64bit fastcall string literals and vararg |
Author |
|
revolution 01 Mar 2015, 01:43
johnsa wrote: How would I go about using 64bit fastcall macro and support some form of string literals and vararg ? Code: include 'win64ax.inc' .code proc start fastcall func,'string1','string2' fastcall ExitProcess,0 endp proc func arg1,arg2,arg3,arg4,more_args mov [arg1],rcx mov [arg2],rdx mov [arg3],r8 mov [arg4],r9 ;... ret endp .end start johnsa wrote: ... and then rcx = count and arguments are on the stack |
|||
01 Mar 2015, 01:43 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.