Changes

Jump to: navigation, search

X86 64 Register and Instruction Quick Start

333 bytes added, 22:07, 28 December 2016
no edit summary
[[Category:Assembly Language]]
 
This page contains very basic information on the x86_64 architecture: the [Register|register] layout and naming and the some basic instructions.
 
== Registers ==
add %r10,%r11 // add r10 and r11, put result in r11
cmp %r10,%r11 // compare register r10 with register r11. The comparison sets flags in the processor status register which affect conditional jumps. cmp $99,%r11 // compare the number 99 with register r11. The comparison sets flags in the processor status register which affect conditional jumps.
div %r10 // divide rax by the given register (r10), places quotient into rax and remainder into rdx (rdx must be zero before this instruction)
inc %r10 // increment r10

Navigation menu