问题
The problem is that some (many) labels have the same name, in particular: there are many procedures and each works properly if run "isolated" from the others. In fact, the labels used in different procedures have all the same common names such as "skip", "cycle", and so on.
I know that in the macros could be used the directive LOCAL <label1>, <label2>, ...
. But this directive doesn't work into a procedure.
Changing each label is very boring, but not impossible to do, the real problem is that if I want to avoid the duplicates I have to use strange names o I have to remember when I used "skip23" instead "skip22". All this is making me crazy.
来源:https://stackoverflow.com/questions/35003578/how-to-make-local-the-label-in-a-8086-procedure