Files
rgbds/test/asm/[email protected]
T

14 lines
382 B
NASM

SECTION "fixed", ROM0[0]
jr @
; We need this section to be floating because RGBASM can know the value of PC
; otherwise, leading to different behavior
SECTION "floating", ROM0
jr @
; This should thwart any attempts by RGBASM to compute the offset by itself.
jr 1 + @ - 1
; We rely on this landing at address $0002, which isn't *guaranteed*...
assert STARTOF("floating") == 2