assembly-playground/risc-v/main.s

19 lines
148 B
ArmAsm
Raw Permalink Normal View History

2024-06-10 18:54:05 +07:00
.globl __start
.data
msg:
.string "Hello World!"
.byte 0
.text
__start:
LA a0, msg
li a7, 4
ecall
j Shutdown
Shutdown:
li a7, 10
ecall