Files
rgbds/test/asm/section-sizeof-startof.asm
Rangi 52797b6f68 Implement SIZEOF("Section") and STARTOF("Section") (#766)
Updates the object file revision to 8

Fixes #765
2021-04-17 18:36:26 -04:00

9 lines
127 B
NASM

SECTION "sect", ROMX[$4567], BANK[$23]
ds 42
W = BANK("sect")
X = SIZEOF("sect")
Y = STARTOF("sect")
println "{W} {X} {Y}"