Files
rgbds/test/asm/align-16.asm
ISSOtm 1b08a12b26 Ensure that mid-section align 16 makes PC constant
This makes `align 16` a sort of `org`, which is *very* useful :)
2024-02-18 17:53:56 -05:00

15 lines
189 B
NASM

SECTION "Byte", ROM0
db 2
SECTION "ROM0", ROM0, ALIGN[16]
db 1
println @ ; Ensure that PC is constant.
SECTION "Mid-section align makes PC constant", ROM0
align 16, 42
println @