Files
pepperOS/user/hello.S
T
2026-04-02 19:11:37 +02:00

16 lines
262 B
ArmAsm

bits 64
section .data
hi db "hi from userland :) we did it man", 0
section .text
hello:
mov rax, 0x1 ;sys_write
mov rdi, 0x1 ;stdout
lea rsi, [rel hi] ;char* buf
mov rdx, 33 ;count
int 0x80
.loop:
jmp .loop