summaryrefslogtreecommitdiff
path: root/input/dominative-functions.asm
diff options
context:
space:
mode:
Diffstat (limited to 'input/dominative-functions.asm')
-rw-r--r--input/dominative-functions.asm5
1 files changed, 3 insertions, 2 deletions
diff --git a/input/dominative-functions.asm b/input/dominative-functions.asm
index cb8564e..530717d 100644
--- a/input/dominative-functions.asm
+++ b/input/dominative-functions.asm
@@ -14,6 +14,7 @@ MAIN:
push $6
;; jal SUB23
+ pop $6
store $6 answer($0)
SUB23:
push $5 ; push old frame pointer
@@ -34,7 +35,7 @@ SUB23:
addi $2 $5 0x0 ; restore stack pointer
pop $5 ; restore frame pointer
- ;; ret
+ ret
ADD76:
push $5
addi $5 $2 0x0
@@ -51,4 +52,4 @@ ADD76:
addi $2 $5 0x0
pop $5
- ;; ret
+ ret