Some work on CSR

This commit is contained in:
2024-05-13 00:04:44 +02:00
parent f9541157b6
commit f95a85de00
12 changed files with 403 additions and 227 deletions

View File

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