Files
RockOS/programs/origin.S

16 lines
217 B
ArmAsm
Raw Normal View History

2026-06-16 18:44:31 -05:00
.code32
2026-06-17 18:16:47 -05:00
2026-06-16 18:44:31 -05:00
.section .text
.global _start
_start:
mov $1, %eax
2026-06-17 18:16:47 -05:00
mov $(message), %ebx
mov $0, %ecx
mov $0, %edx
int $0x80
2026-06-16 18:44:31 -05:00
loop:
2026-06-17 18:16:47 -05:00
jmp loop
.section .data
message:
.asciz "Hello, Userland!\n";