I stumbled across your post from April. There's an enhancement request from David Given. Not mutable state but it does solve the problem of having to think up unique label names.Is there any clever trick for assembly code to maintain some kind of mutable state while beebasm is assembling it?
It has a set of reusable labels (1, 2, 3, etc.) and you specify whether you mean the last instance or the next instance. For example
Code:
lda &70bne 1+ ; 1+ means the next .1lda #1.1inycpy #3bne 1- ; 1- means the previous .1.1dexbne 1- ; a different previous .1
Also, I've implemented SOURCELINE, which is a #line equivalent. You can find it here.
Statistics: Posted by ctr — Sun Aug 25, 2024 9:13 pm