Allow NUL characters in strings (#1405)

This commit is contained in:
Sylvie
2024-06-18 14:26:18 -04:00
committed by GitHub
parent 9cc595b2cc
commit 623c3f662c
15 changed files with 91 additions and 37 deletions

View File

@@ -0,0 +1,12 @@
MACRO echo
print "\#"
ENDM
; '\0' can be printed like any other character
print "hello\0world\0"
echo left\0right\0
SECTION "test", ROM0
; '\0' can be included in ROM like any other character
db "foo\0bar", 0
charmap "a\0b", $42
db "a\0b\0"