aboutsummaryrefslogtreecommitdiff
path: root/include/asm.s
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-09-16 22:34:56 +0200
committerMiquel Sabaté Solà <mssola@mssola.com>2026-09-16 22:34:56 +0200
commit70a801a43c16fd7a5f61e8d876e5d5c2db48ebe8 (patch)
treef1836f8facd9dc69429ab5693afec8d4d326025d /include/asm.s
downloadbtree.nes-70a801a43c16fd7a5f61e8d876e5d5c2db48ebe8.tar.gz
btree.nes-70a801a43c16fd7a5f61e8d876e5d5c2db48ebe8.zip
Initial commitHEADmain
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'include/asm.s')
-rw-r--r--include/asm.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm.s b/include/asm.s
new file mode 100644
index 0000000..f5d39bc
--- /dev/null
+++ b/include/asm.s
@@ -0,0 +1,9 @@
+;; Pseudo-instruction from 'nasm' that is not available for 'ca65'. An empty
+;; implementation is actually quite accurate, as it's just a way for 'nasm' to
+;; perform extra checks when programmers want to explicitly make the code fall
+;; through.
+.ifndef __NASM__
+ .macro __fallthrough__ arg
+ ;; Nothing to do.
+ .endmacro
+.endif