flat assembler
Message board for the users of flat assembler.

Index > Windows > Fix problem...

Author
Thread Post new topic Reply to topic
Dunduk



Joined: 08 Sep 2003
Posts: 38
Location: Russia
Dunduk 29 Jul 2004, 10:45
Hi all.

Piece of code:
Code:
structure SOME_STRUCTURE
...
str fix structure
...
mov [str.some_struc_memeber],eax  ;<--- there's error
    

Error: undefined symbol.
Why? Confused
Post 29 Jul 2004, 10:45
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 29 Jul 2004, 18:15
"." is considered as part of name, just like other characters like 'a' or '1' or '_'. So preprocessor sees word "str.some_struc_memeber" and not "str"
Post 29 Jul 2004, 18:15
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Joshua



Joined: 12 Jul 2003
Posts: 56
Location: Belgium
Joshua 29 Jul 2004, 18:22
the name of the var is 'str.some_struc_memeber', not str, so the fix does nothing.
Post 29 Jul 2004, 18:22
View user's profile Send private message 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-2023, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.