shithub: rgbds

ref: 19c85a7c2e2063f2d42cff9a5b1a8ce0c660c61e
dir: /test/asm/ff00+c-bad.asm/

View raw version

SECTION "ff00+c or not to ff00+c", ROMX

	ld a, [$ff00 + c]
	ld [65280 + c], a

	; Not ok
	ld a, [$ff01 + c]
	ld [xyz + c], a