summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-05-13 00:04:44 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-05-13 00:04:44 +0200
commitf95a85de0082010e4af83e26e99299d601bb48d6 (patch)
tree0b70ff8fa990ceeb18c2522ea80f2599d50ebae4 /main.asm
parentf9541157b62ec44deff0b906757c223ca0220102 (diff)
Some work on CSR
Diffstat (limited to 'main.asm')
-rw-r--r--main.asm5
1 files changed, 1 insertions, 4 deletions
diff --git a/main.asm b/main.asm
index 3ae0850..2d41e48 100644
--- a/main.asm
+++ b/main.asm
@@ -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"