flat assembler
Message board for the users of flat assembler.
Index
> Windows > Addition Parameter x64 |
Author |
|
tthsqe 03 Dec 2015, 18:20
Hello yq8. It depends if you want the linux or MS versions.
https://en.wikipedia.org/wiki/X86_calling_conventions For MS, the first four int args are passed in rcx, rdx, r8, r9 and the return is rax Code: mov rax, rcx add rax, 0x0d ret or lea rax, [rcx+0x0d] ret |
|||
03 Dec 2015, 18:20 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.