Add RISC-V (#1027)

This commit is contained in:
silva-nick
2021-05-28 08:45:25 -05:00
committed by GitHub
parent 02d68cc2e0
commit 4e75dd6f94
2 changed files with 12 additions and 1 deletions

10
r/RISC V.s Normal file
View File

@@ -0,0 +1,10 @@
.data
hello_world: .asciiz "Hello World"
.text
main: la a1, hello_world
li a0, 4
ecall
li a0, 10
ecall