mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Fixes #568 The old behavior of `dw "string"` can be replicated with `dw ("string")`; likewise for dl
18 lines
222 B
NASM
18 lines
222 B
NASM
SECTION "Test", ROM0
|
|
|
|
db "ABC"
|
|
dw "ABC"
|
|
dl "ABC"
|
|
|
|
db 0, "DEF", -1
|
|
dw 0, "DEF", -1
|
|
dl 0, "DEF", -1
|
|
|
|
db "A" + 1
|
|
dw "A" + 1
|
|
dl "A" + 1
|
|
|
|
db 1, ("UVWXYZ") & $ff, -1
|
|
dw 1, ("UVWXYZ") & $ffff, -1
|
|
dl 1, ("UVWXYZ"), -1
|