Fix underflowing SECTION FRAGMENT fixed address (#2091)

This commit is contained in:
Rangi authored and GitHub committed 2026-09-15 20:22:19 -04:00
1 parent febdf63896
commit d81ab2fb23
3 files changed
+18 -4

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
SECTION FRAGMENT "test", ROM0
ds $11, 42
SECTION FRAGMENT "test", ROM0[$10]
+2
View File
@@ -0,0 +1,2 @@
FATAL: Section "test" already contains 17 bytes, higher than this fragment's fixed address $0010
at fragment-org-beyond-size.asm(4)