shithub: rgbds

ref: 3e945679ad615692c3e9c07f52a21922b561c9a6
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