summaryrefslogtreecommitdiff
path: root/masm/test.asm
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-09-09 20:48:08 -0400
committerFreya Murphy <freya@freyacat.org>2024-09-09 20:48:08 -0400
commit0ff948af3d65150f44c9fe801ada806ce0637fe1 (patch)
treeba766d33d12bf1063660c2144af2d5f5c36b4c87 /masm/test.asm
parenti forgor syscall (diff)
downloadmips-0ff948af3d65150f44c9fe801ada806ce0637fe1.tar.gz
mips-0ff948af3d65150f44c9fe801ada806ce0637fe1.tar.bz2
mips-0ff948af3d65150f44c9fe801ada806ce0637fe1.zip
relocation table hell
Diffstat (limited to '')
-rw-r--r--masm/test.asm5
1 files changed, 4 insertions, 1 deletions
diff --git a/masm/test.asm b/masm/test.asm
index c3b61fb..1820b62 100644
--- a/masm/test.asm
+++ b/masm/test.asm
@@ -1,6 +1,9 @@
.text
.align 2
+.globl main
+.extern test2
+
main:
add $zero,$t7,$t7
xori $a0, $v1, 69
@@ -19,4 +22,4 @@ test:
mfhi $s0
mtlo $s7
- j test
+ j test2