aboutsummaryrefslogtreecommitdiff
path: root/tests/out.s
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-09-29 23:37:48 +0200
committerMiquel Sabaté Solà <mssola@mssola.com>2026-09-29 23:37:48 +0200
commit54e3fc561add5ce9d776a11a286b988aacb59daa (patch)
tree0e1eca3d85988d389e14525c85917646dd8796ac /tests/out.s
parent438c379b9ce4c6a6e4da445c3bf7f94458b1c816 (diff)
downloadtools.nes-54e3fc561add5ce9d776a11a286b988aacb59daa.tar.gz
tools.nes-54e3fc561add5ce9d776a11a286b988aacb59daa.zip
nasm: warn on labels that point out of bounds
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'tests/out.s')
-rw-r--r--tests/out.s12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/out.s b/tests/out.s
new file mode 100644
index 0000000..d40ec42
--- /dev/null
+++ b/tests/out.s
@@ -0,0 +1,12 @@
+.segment "HEADER"
+ .byte 'N', 'E', 'S', $1A
+ .byte $02, $01
+ .byte $00
+ .byte $00
+
+.segment "CODE"
+;; asan:stack full
+
+jmp label
+nop
+label: