summaryrefslogtreecommitdiff
path: root/tools/asm-processor/tests/custom-prelude.c
diff options
context:
space:
mode:
authorDerek Hensley <hensley.derek58@gmail.com>2025-09-04 17:56:01 -0700
committerGitHub <noreply@github.com>2025-09-04 17:56:01 -0700
commit61a38830b94c28b3fcead3e22161c3dd621d25c9 (patch)
tree8ae9664d2feae319bb7da12ddd7cc7e06751f1ae /tools/asm-processor/tests/custom-prelude.c
parenta4d5910cdb9bed05fa5aea4476a3cf4ef178be06 (diff)
Spimdisasm update (#243)HEADmain
* git subrepo pull tools/asm-processor subrepo: subdir: "tools/asm-processor" merged: "5c3984fc" upstream: origin: "git@github.com:simonlindholm/asm-processor.git" branch: "main" commit: "5c3984fc" git-subrepo: version: "0.4.9" origin: "git@github.com:ingydotnet/git-subrepo.git" commit: "ea10886" * Fix things needed for new spimdisasm release
Diffstat (limited to 'tools/asm-processor/tests/custom-prelude.c')
-rw-r--r--tools/asm-processor/tests/custom-prelude.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/asm-processor/tests/custom-prelude.c b/tools/asm-processor/tests/custom-prelude.c
new file mode 100644
index 0000000..1b057d5
--- /dev/null
+++ b/tools/asm-processor/tests/custom-prelude.c
@@ -0,0 +1,17 @@
+// COMPILE-FLAGS: -O2
+// ASMP-FLAGS: --asm-prelude tests/custom-prelude.s
+
+GLOBAL_ASM(
+glabel foo
+nop
+nop
+nop
+nop
+nop
+nop
+nop
+nop
+nop
+nop
+endlabel foo
+)