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

1
end.s
View file

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

1
main.s
View file

@ -67,3 +67,4 @@ hello2:
# To avoid the program from exiting # To avoid the program from exiting
loop: j loop loop: j loop