mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Add test for db X, @
It should behave identically to both of these on separate lines
This commit is contained in:
7
test/link/db-@.asm
Normal file
7
test/link/db-@.asm
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
SECTION "fixed", ROM0[0]
|
||||||
|
db 0, @
|
||||||
|
; We need this section to be floating because RGBASM can know the value of PC
|
||||||
|
; otherwise, leading to different behavior
|
||||||
|
; FIXME: we rely on this landing at address 2, which isn't *guaranteed*...
|
||||||
|
SECTION "floating", ROM0
|
||||||
|
db 2, @
|
||||||
0
test/link/db-@.out
Normal file
0
test/link/db-@.out
Normal file
BIN
test/link/db-@.out.bin
Normal file
BIN
test/link/db-@.out.bin
Normal file
Binary file not shown.
Reference in New Issue
Block a user