Changes

Jump to: navigation, search

Assembler Basics

13 bytes added, 23:36, 19 January 2017
Format of an Assembly Language program
<font color="green">mov</font> $<font color="blue">msg</font>,%<font color="blue">rsi</font> /* message location */
<font color="green">mov</font> $<font color="blue">stdout</font>,%<font color="blue">rdi</font> /* file descriptor stdout */
<font color="green">mov</font> $<font color="orange">1</font>,%<font color="blue">rax</font> /* [[Syscalls|syscall ]] sys_write */
<font color="green">syscall</font>

Navigation menu