shithub: rgbds

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