puberty/compiler_template.s

20 lines
202 B
ArmAsm

.text
.global _start
_start:
mov $1, %rax
mov $1, %rdi
mov $msg, %rsi
mov $msl, %rdx
syscall
mov $60, %rax
xor %rdi, %rdi
syscall
msg:
.ascii "Hello world!"
.set msgl, .-msg
.bss