Open main menu

CDOT Wiki β

Changes

X86 64 Register and Instruction Quick Start

4 bytes added, 14:07, 27 January 2014
General-Purpose Registers
Usage during [[Syscalls|syscall]]/function call:
* First six arguments are in rdi, rsi, rdx, rcx, r8d, r9d; remaining arguments are on the stack.* For syscalls, the syscall number is in rax.* Return value is in rax.* The called routine is expected to save rsp,rbp, rbx, r12, r13, r14, and r15 but may trample any other registers.
=== Floating-Point and SIMD Registers ===