blob: 9c242f4a11eff371a80fa5adb5c1abe7e768519f (
plain)
1
2
3
4
5
6
7
8
9
|
.global main
.text
main: # This is called by C library's startup code
mov $message, %rdi # First integer (or pointer) parameter in %rdi
call puts # puts(message)
ret # Return to C library code
message:
.asciz "Hola, mundo" # asciz puts a 0 byte at the end
|