summaryrefslogtreecommitdiff
path: root/riscv/test.s
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/test.s')
-rw-r--r--riscv/test.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/riscv/test.s b/riscv/test.s
new file mode 100644
index 0000000..fe2b882
--- /dev/null
+++ b/riscv/test.s
@@ -0,0 +1,6 @@
+trunk42:
+ li t1, 42
+ bge t1, a0, done
+ mv a0, t1
+done:
+ jal exit