summaryrefslogtreecommitdiff
path: root/input/simple.asm
diff options
context:
space:
mode:
authorSiddarth Suresh <155843085+SiddarthSuresh98@users.noreply.github.com>2025-04-08 10:17:09 -0400
committerGitHub <noreply@github.com>2025-04-08 10:17:09 -0400
commitcc1e5892a25949b996d69a0b07f151a276ef2570 (patch)
tree643d37db692c19d1ef64223eadcac7a28dbbd7db /input/simple.asm
parent19d13c8339ee990fba358417a54aa6f1c94c7bca (diff)
parentb85c10ba1c53f1b442fea6bde4c2a2f73cfe5d6b (diff)
Merge pull request #1 from bdunahu/bdunahu
Add logic to open file, full lexer and tests.
Diffstat (limited to 'input/simple.asm')
-rw-r--r--input/simple.asm5
1 files changed, 5 insertions, 0 deletions
diff --git a/input/simple.asm b/input/simple.asm
new file mode 100644
index 0000000..3e60ee8
--- /dev/null
+++ b/input/simple.asm
@@ -0,0 +1,5 @@
+ addi $sp $0 512
+ addi $5 $0 1
+ store $5 0($sp)
+ addi $5 $0 2
+ store $5 1($sp)