shithub: rgbds

ref: 8fa5a4255e93fd7a3eeec24e69ae4e90ec7696b4
dir: /test/asm/db-dw-dl-string.asm/

View raw version
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