mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Allow LOAD FRAGMENT (#1552)
This was implemented in #736 but removed after discussion in #869. Fixes #1537
This commit is contained in:
4
test/link/section-fragment/jr-offset-load/a.asm
Normal file
4
test/link/section-fragment/jr-offset-load/a.asm
Normal file
@@ -0,0 +1,4 @@
|
||||
SECTION FRAGMENT "output", ROM0
|
||||
LOAD FRAGMENT "loaded", SRAM
|
||||
ds 128
|
||||
ENDL
|
||||
6
test/link/section-fragment/jr-offset-load/b.asm
Normal file
6
test/link/section-fragment/jr-offset-load/b.asm
Normal file
@@ -0,0 +1,6 @@
|
||||
SECTION FRAGMENT "output", ROM0
|
||||
LOAD FRAGMENT "loaded", SRAM
|
||||
label:
|
||||
jr nz, label2
|
||||
label2:
|
||||
ENDL
|
||||
BIN
test/link/section-fragment/jr-offset-load/ref.out.bin
Normal file
BIN
test/link/section-fragment/jr-offset-load/ref.out.bin
Normal file
Binary file not shown.
Reference in New Issue
Block a user