shithub: rgbds

ref: 8553b61a946527d12f2af7b75b1a7c66b8044ca1
dir: /test/asm/load-union.asm/

View raw version
SECTION "A", ROM0
AData::
LOAD UNION "RAM", WRAM0
AMem::
	db 0, 1, 2
AMemEnd::
ENDL
ADataEnd::
	dw AMem

SECTION "B", ROM0
BData::
LOAD UNION "RAM", WRAM0
BMem::
	db 3, 4, 5, 6, 7
BMemEnd::
ENDL
BDataEnd::
	dw BMem

SECTION "C", ROM0
CData::
LOAD UNION "RAM", WRAM0
CMem::
	db 8, 9
CMemEnd::
ENDL
CDataEnd::
	dw CMem