mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-23 11:32:07 +00:00
Implement SIZEOF("Section") and STARTOF("Section") (#766)
Updates the object file revision to 8 Fixes #765
This commit is contained in:
8
test/asm/section-sizeof-startof.asm
Normal file
8
test/asm/section-sizeof-startof.asm
Normal file
@@ -0,0 +1,8 @@
|
||||
SECTION "sect", ROMX[$4567], BANK[$23]
|
||||
ds 42
|
||||
|
||||
W = BANK("sect")
|
||||
X = SIZEOF("sect")
|
||||
Y = STARTOF("sect")
|
||||
|
||||
println "{W} {X} {Y}"
|
||||
Reference in New Issue
Block a user