Add section fragments

Fixes #517, and hopefully enables RGBDS as a SDCC back-end
This commit is contained in:
ISSOtm
2020-07-21 19:53:40 +02:00
parent aca00e4fce
commit 1f2f797cb9
17 changed files with 174 additions and 50 deletions

View File

@@ -0,0 +1,7 @@
SECTION FRAGMENT "output", ROM0
X:
db X
db 1
assert WARN, X == 0

View File

@@ -0,0 +1,7 @@
SECTION FRAGMENT "output", ROM0
Y:
db Y
db 3
assert WARN, Y == 2

Binary file not shown.