Files
CS50---Harvard/Assembly/asem.s
T
2026-05-28 10:16:10 +00:00

22 lines
224 B
ArmAsm

.global _start
.intel_syntax noprefix
_start:
// sys_write
mov rax, 1
mov rdi, 1
lea rsi, [hello_world]
mov rdx, 14
syscall
// sys_exit
mov rdi, 60
mov rdi, 69
syscall
hello_world:
.asciz "Hello, World!\n"