From 4e75dd6f940ea57c4b227f496a906a7a3136861b Mon Sep 17 00:00:00 2001 From: silva-nick <39960606+silva-nick@users.noreply.github.com> Date: Fri, 28 May 2021 08:45:25 -0500 Subject: [PATCH] Add RISC-V (#1027) --- r/RISC V.s | 10 ++++++++++ readme.md | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 r/RISC V.s diff --git a/r/RISC V.s b/r/RISC V.s new file mode 100644 index 00000000..ba7e5afb --- /dev/null +++ b/r/RISC V.s @@ -0,0 +1,10 @@ +.data +hello_world: .asciiz "Hello World" + +.text +main: la a1, hello_world + li a0, 4 + ecall + + li a0, 10 + ecall \ No newline at end of file diff --git a/readme.md b/readme.md index df2fb135..e95d2d2a 100644 --- a/readme.md +++ b/readme.md @@ -8,7 +8,7 @@ Thanks to everyone who continues to contribute; new languages are created every Make sure to see [contributing.md](/contributing.md) for instructions on contributing to the project! -## Languages (768 total) +## Languages (769 total) * [!@#$%^&*()_+](%23/%21%40%23%24%25%5E%26%E2%88%97%28%29_%2B) * [05AB1E](%23/05AB1E) @@ -622,6 +622,7 @@ Make sure to see [contributing.md](/contributing.md) for instructions on contrib * [Ricktea](r/Ricktea.tea) * [Ride](r/Ride.ride) * [Ring](r/Ring.ring) +* [RISC V](r/RISC%20V.s) * [RiveScript](r/RiveScript.rive) * [Rockstar](r/Rockstar.rock) * [Roco](r/Roco.roco)