This commit is contained in:
2024-05-12 14:26:38 +02:00
parent 49b3928813
commit 822fd8616c
4 changed files with 210 additions and 20 deletions

View File

@ -13,10 +13,13 @@ l1:
ret
_main:
csrr a0, mhartid
la a0, my_str
call print
halt: j halt
li a0, 0
ecall
.section .rodata
my_str: .string "Hello, world!\n"