mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-13 21:31:42 +00:00
Add section fragments
Fixes #517, and hopefully enables RGBDS as a SDCC back-end
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
|
||||
SECTION FRAGMENT "output", ROM0
|
||||
X:
|
||||
db X
|
||||
db 1
|
||||
|
||||
assert WARN, X == 0
|
||||
@@ -0,0 +1,7 @@
|
||||
|
||||
SECTION FRAGMENT "output", ROM0
|
||||
Y:
|
||||
db Y
|
||||
db 3
|
||||
|
||||
assert WARN, Y == 2
|
||||
Binary file not shown.
Reference in New Issue
Block a user