Implement SIZEOF("Section") and STARTOF("Section") (#766)

Updates the object file revision to 8

Fixes #765
This commit is contained in:
Rangi
2021-04-17 18:36:26 -04:00
committed by GitHub
parent 5108c5643c
commit 52797b6f68
14 changed files with 161 additions and 31 deletions

View 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}"