summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
Diffstat (limited to 'main.asm')
-rw-r--r--main.asm9
1 files changed, 9 insertions, 0 deletions
diff --git a/main.asm b/main.asm
new file mode 100644
index 0000000..e90d6a2
--- /dev/null
+++ b/main.asm
@@ -0,0 +1,9 @@
+.section .text
+.global _main
+_main:
+ li x1, 5
+ addi x2, x1, 45
+
+loop:
+ addi x2, x2, 1
+ j loop