uvm32/apps/hello-asm/hello-asm.S
2025-12-08 12:26:47 +00:00

12 lines
221 B
ArmAsm

#include "uvm32_sys.h"
#include "uvm32_common_custom.h"
.section .initial_jump , "ax", %progbits
.global _start
_start:
la a0, str
li a7, UVM32_SYSCALL_PRINTLN
ecall
li a7, UVM32_SYSCALL_HALT
ecall
str:
.ascii "Hi\0"