shithub: rgbds

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