Add RGBLINK truncation warnings for add sp, e8 and ld hl, sp + e8 (#2179)

This commit is contained in:
Rangi authored and GitHub committed 2026-09-27 20:08:26 -04:00
1 parent ba4e58f4e0
commit 380c22f343
11 files changed
+71 -6

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
SECTION "limit", ROM0, ALIGN[8, 128]
Limit:
add sp, Limit
add sp, -Limit
ld hl, sp + Limit
ld hl, sp - Limit
SECTION "test", ROMX
Invalid:
add sp, Invalid
add sp, -Invalid
ld hl, sp + Invalid
ld hl, sp - Invalid