Mercurial > pub > dyncall > dyncall
diff doc/manual/callconvs/callconv_x64.tex @ 345:c607d67cd6b8 r1.1-RC2
- doc: added syscall info to appendix, fixed broken literature link
- cleanup, added missing forward declarations, ...
author | Tassilo Philipp |
---|---|
date | Tue, 07 Jan 2020 21:52:57 +0100 |
parents | 6e33db95e724 |
children | b47168dacba6 |
line wrap: on
line diff
--- a/doc/manual/callconvs/callconv_x64.tex Tue Jan 07 11:34:31 2020 +0100 +++ b/doc/manual/callconvs/callconv_x64.tex Tue Jan 07 21:52:57 2020 +0100 @@ -251,8 +251,8 @@ \item syscall is issued via the {\em syscall} instruction \item kernel destroys registers rcx and r11 \item syscall number is set in rax -\item up to 6 params are passed in the following registers in this order: rdi, rsi, rdx, rcx, r8, r9 -\item no stack in use, meaning syscalls are limited to six arguments +\item params are passed in the following registers in this order: rdi, rsi, rdx, rcx, r8, r9 +\item no stack in use, meaning syscalls are in theory limited to six arguments \item register rax holds the return value (values in between -4095 and -1 indicate errors) \end{itemize}