Changes

Jump to: navigation, search

Assembler Basics

56 bytes added, 00:17, 24 January 2014
Format of an Assembly Language program
movq $<font color="blue">len</font>,%rdx /* message length */
movq $<font color="blue">msg</font>,%rsi /* message location */
movq $<font color="orange">1</font>,%rdi /* file descriptor stdout */ movq $<font color="orange">1</font>,%rax /* syscall sys_write */
syscall

Navigation menu