flat assembler
Message board for the users of flat assembler.

Index > Main > Bug same names EQU and Label !

Author
Thread Post new topic Reply to topic
Roman



Joined: 21 Apr 2012
Posts: 1769
Roman 16 Dec 2014, 08:40
I do include asm file in main code.
In main code i have label name Mtk and in include file i have EQU Mtk.
I run my prog and got wrong result.

How fixed this ?
I understand rename label or EQU. But in big project very hard find this mistake.

And with me its happens Sad
I long time catch this bug.
Post 16 Dec 2014, 08:40
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20300
Location: In your JS exploiting you and your system
revolution 16 Dec 2014, 09:02
You could write a macro to overload either (or both) 'label' and 'equ' to display an error when something conflicts.
Post 16 Dec 2014, 09:02
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.