Open main menu

CDOT Wiki β

Changes

X86 64 Register and Instruction Quick Start

267 bytes added, 17:58, 24 January 2014
Starter Kit
pop %r10 // pop r10 off the stack
syscall // invoke a syscall (in 32-bit mode, use "int $0x80" instead)
 
Note the syntax:
* [[Register|register]] names are prefaced by %
* [[Immediate Value|Immediate values]] are prefaced by $
* Indirect memory access is indicated by (parenthesis)
* Data sources are given as the first argument (mov %r10,%r11 moves FROM r10 INTO r11).
== References ==