It would be nice to have labels in assemble command (A):
Instead of being able to use only addresses
-a
XXXX:0100 MOV AX, 3
XXXX:0103 DEC AX
XXXX:0104 JNZ 103
XXXX:0106
-
Label support would be a nice thing:
-a
XXXX:0100 MOV AX, 3
XXXX:0103 :setlabel M1 ; M1 will be set to current address XXXX:0103
XXXX:0103 DEC AX
XXXX:0104 JNZ M1
XXXX:0106
-
-show labels
M1 XXXX:0103
-
And if a label get's deleted, the assemble will be changed to addresses:
-delete label M1
-u
XXXX:0100 MOV AX, 3
XXXX:0103 DEC AX
XXXX:0104 JNZ 103
XXXX:0106
-
The same applies to if the program is run or stepped through.
But as long as the labels do exist, they should be inserted in the Assemble mode (A) and unassembly (u) view.
-u
XXXX:0100 MOV AX, 3
XXXX:0103 M1: DEC AX
XXXX:0104 JNZ M1 -> 103
XXXX:0106
-
The symbolic build option of lDebug does provide some support for placing labels in memory. However, it is not considered ready yet.
In lieu of labels, you can assign offsets such as the AAO (address assembly offset) to variables in lDebug (like the V variables), then later use those variables in the assembler. There is an example at https://pushbx.org/ecm/dokuwiki/blog/pushbx/2022/1111_link_spam?s[]=v0&s[]=assembler#b16cat_and_echoify