diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-05-13 00:04:44 +0200 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-05-13 00:04:44 +0200 |
commit | f95a85de0082010e4af83e26e99299d601bb48d6 (patch) | |
tree | 0b70ff8fa990ceeb18c2522ea80f2599d50ebae4 /main.asm | |
parent | f9541157b62ec44deff0b906757c223ca0220102 (diff) |
Some work on CSR
Diffstat (limited to 'main.asm')
-rw-r--r-- | main.asm | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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"
|