This commit is contained in:
Imbus 2024-04-05 19:53:44 +02:00
parent 7c0e113593
commit 975ad1896a
2 changed files with 4 additions and 2 deletions

3
end.s
View file

@ -16,4 +16,5 @@ end:
addi a0, x0, 0x0A
sb a0, (a1) # '\n'
ret
ret

3
main.s
View file

@ -66,4 +66,5 @@ hello2:
ecall
# To avoid the program from exiting
loop: j loop
loop: j loop