News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Long code length bug?

Started by SCHiM, October 31, 2010, 06:17:13 PM

Previous topic - Next topic

SCHiM

Hello everybody I'm currently working on a rather big assembly program it's a chatter bot. It spans currently well over 700 lines of code. In my program I've two labels, my program uses these labels to keep track of certain data that gets moved around in a random manner.
Let me explain to you what happend:

The job the program has to do is big, so what I tend to do is I chop these bits of code in pieces. I create separate projects for all the functions my program needs, and when they're working I include them in the main program.

I had one of these functions completed just now, and I integrated it into my program. The function came between the two labels I told you about before.

When I tried to compile the program I got an error saying:

ChatterBot.asm<22>: Unidentified symbol: EEEndLenght (which is the name of the 2nd label)

The label is 633 lines further away on line 655, if I remove the function again, the error disappears, I'm sure the same label doesn't occur in the new function and I've changed it's name several times

Does anyone know why this is happening and how I can fix it?

SCHiM

Fixed, I was messing up with other labels (end )
I'm sorry for creating an useless topic :(