shithub: rgbds

ref: e855b6f6222d4e5fab0fd203cf348d1c1ad04d90
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