summaryrefslogtreecommitdiff
path: root/input
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-16 16:37:18 -0400
committerbd <bdunahu@operationnull.com>2025-04-16 16:37:18 -0400
commit768ebe5c796d85d0262260c9a0b1f7aec28b8844 (patch)
treeb2a3f2a7539aa494019ebc7c14be83b68aaad805 /input
parent4195307803b49966831c3646e059088c3087f489 (diff)
Let displacement for JAL+JMP be the absolute file position of label
Diffstat (limited to 'input')
-rw-r--r--input/dominative-functions.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/input/dominative-functions.asm b/input/dominative-functions.asm
index 530717d..d11ddcb 100644
--- a/input/dominative-functions.asm
+++ b/input/dominative-functions.asm
@@ -13,7 +13,7 @@ MAIN:
addi $6 $0 -11
push $6
- ;; jal SUB23
+ jal SUB23
pop $6
store $6 answer($0)
SUB23:
@@ -29,7 +29,7 @@ SUB23:
add $6 $6 $7
push $6
- ;; jal ADD76
+ jal ADD76
pop $6 ; retrieve and pass along
store $6 +4($5)