Assembly/001-hello_world.s

17 lines
186 B
ArmAsm
Raw Normal View History

2024-01-03 20:51:11 +03:00
.global _start
.intel_syntax noprefix
_start:
mov rax, 1
mov rdi, 1
lea rsi, [hello_world]
mov rdx, 13
syscall
//exit
mov rax, 60
syscall
hello_world:
.asciz "Hello World\n"