How to make “local” the label in a 8086 procedure?

时光怂恿深爱的人放手 提交于 2019-12-12 03:36:42

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!