mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
29
test/asm/load-fragment.asm
Normal file
29
test/asm/load-fragment.asm
Normal file
@@ -0,0 +1,29 @@
|
||||
SECTION "A", ROM0
|
||||
AData::
|
||||
LOAD FRAGMENT "RAM", WRAM0
|
||||
AMem::
|
||||
db 0, 1, 2
|
||||
AMemEnd::
|
||||
ENDL
|
||||
ADataEnd::
|
||||
dw AMem
|
||||
|
||||
SECTION "B", ROM0
|
||||
BData::
|
||||
LOAD FRAGMENT "RAM", WRAM0
|
||||
BMem::
|
||||
db 3, 4, 5, 6, 7
|
||||
BMemEnd::
|
||||
ENDL
|
||||
BDataEnd::
|
||||
dw BMem
|
||||
|
||||
SECTION "C", ROM0
|
||||
CData::
|
||||
LOAD FRAGMENT "RAM", WRAM0
|
||||
CMem::
|
||||
db 8, 9
|
||||
CMemEnd::
|
||||
ENDL
|
||||
CDataEnd::
|
||||
dw CMem
|
||||
0
test/asm/load-fragment.err
Normal file
0
test/asm/load-fragment.err
Normal file
0
test/asm/load-fragment.out
Normal file
0
test/asm/load-fragment.out
Normal file
BIN
test/asm/load-fragment.out.bin
Normal file
BIN
test/asm/load-fragment.out.bin
Normal file
Binary file not shown.
29
test/asm/load-union.asm
Normal file
29
test/asm/load-union.asm
Normal file
@@ -0,0 +1,29 @@
|
||||
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
|
||||
0
test/asm/load-union.err
Normal file
0
test/asm/load-union.err
Normal file
0
test/asm/load-union.out
Normal file
0
test/asm/load-union.out
Normal file
BIN
test/asm/load-union.out.bin
Normal file
BIN
test/asm/load-union.out.bin
Normal file
Binary file not shown.
Reference in New Issue
Block a user