Add an additional check to the jr-@ test (ported from rsgbds)

This commit is contained in:
Rangi42 committed 2026-09-25 12:59:00 -04:00
1 parent f7b8207322
commit dc701294f8
2 files changed
+5 -2

No files matched your search

+4 -1
View File
@@ -6,5 +6,8 @@ SECTION "fixed", ROM0[0]
SECTION "floating", ROM0
jr @
; XXX: We rely on this landing at address $0002, which isn't *guaranteed*...
; 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