asar icon indicating copy to clipboard operation
asar copied to clipboard

[asar2] datasize does not work on local labels

Open hellow554 opened this issue 1 year ago • 1 comments
trafficstars

org $8000

foo:
   LDA #datasize(.data)

.data:
    db 0, 1, 2, 3

.end
my.asm:4: error: (Elabel_not_found): Label '.data' wasn't found.
    in block: [LDA #datasize(.data)]

for global labels, it works fine though :)

hellow554 avatar May 23 '24 11:05 hellow554