Allow specifying offset in addition to alignment

This commit is contained in:
ISSOtm
2020-04-08 00:40:41 +02:00
parent e82ad21704
commit b0ec8468e6
16 changed files with 154 additions and 44 deletions

View File

@@ -11,6 +11,11 @@ SECTION UNION "c", HRAM[$FFC0]
ds 5
c1::
SECTION UNION "d", SRAM,ALIGN[8,$BA]
d1::
SECTION UNION "e", SRAM[$BABE]
SECTION "output 1", ROM0
dw a1,a2 ; $C00A, $C02A
@@ -19,3 +24,4 @@ SECTION "output 1", ROM0
SECTION "output 3", ROM0
db BANK(banked)
dw d1,d2 ; $ABBA, $BBBA