summaryrefslogtreecommitdiff
path: root/input
diff options
context:
space:
mode:
authorSiddarth Suresh <155843085+SiddarthSuresh98@users.noreply.github.com>2025-04-16 16:43:38 -0400
committerGitHub <noreply@github.com>2025-04-16 16:43:38 -0400
commit3b8a36443a6d83b54fc698a774ef50705f36dcb9 (patch)
treec129a6d326a10f40e1a53144313d397b71eefba7 /input
parent890119fceed9c57c86b43ace15ee016eb403c36a (diff)
parent76dca859f9a4c5e5575a3097d3d3a6f96d781258 (diff)
Merge pull request #9 from bdunahu/bdunahu
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)