flat assembler
Message board for the users of flat assembler.

Index > Main > Virtual at ebx.

Author
Thread Post new topic Reply to topic
Everhest



Joined: 26 Jun 2008
Posts: 83
Location: Russia
Everhest 13 Jul 2008, 00:02
Why it is impossible repeat in one inc file two times?
Code:
Virtual at ebx
             mmi MINMAXINFO
end virtual    

_________________
Forgive for my bad english, I from russia...
Post 13 Jul 2008, 00:02
View user's profile Send private message ICQ Number Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 13 Jul 2008, 01:01
I am afraid I don't understand the question. Can you be more specific?
Post 13 Jul 2008, 01:01
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
SFeLi



Joined: 03 Nov 2004
Posts: 138
SFeLi 13 Jul 2008, 04:54
Everhest, because in such case mmi is just a global label, that points to ebx+0, and you can’t define a global label twice. Use
Code:
virtual at ebx
  .mmi MINMAXINFO
end virtual
    
or explicit addressing:
Code:
mov [ebx+MINMAXINFO.ptMaxSize.x],100
    
Post 13 Jul 2008, 04:54
View user's profile Send private message Reply with quote
Everhest



Joined: 26 Jun 2008
Posts: 83
Location: Russia
Everhest 14 Jul 2008, 03:36
If I write in 1 file inc, 2 viteal at ebx, that gets error. But if divide in 2 inc file, that errors no! Why so occurs?
Post 14 Jul 2008, 03:36
View user's profile Send private message ICQ Number Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20461
Location: In your JS exploiting you and your system
revolution 14 Jul 2008, 03:42
Everhest wrote:
If I write in 1 file inc, 2 viteal at ebx, that gets error. But if divide in 2 inc file, that errors no! Why so occurs?
I think you need to post your code here. There is no way for anyone to determine what code you are trying to assemble from just that single sentence.
Post 14 Jul 2008, 03:42
View user's profile Send private message Visit poster's website Reply with quote
Everhest



Joined: 26 Jun 2008
Posts: 83
Location: Russia
Everhest 14 Jul 2008, 03:56
ok. Tomorrow. I shall sleep today.
Post 14 Jul 2008, 03:56
View user's profile Send private message ICQ Number Reply with quote
Everhest



Joined: 26 Jun 2008
Posts: 83
Location: Russia
Everhest 14 Jul 2008, 20:55
Im sorry. Embarassed I itself has done the error in code. But that not so with dialog?


Description:
Download
Filename: FVE.rar
Filesize: 77.63 KB
Downloaded: 486 Time(s)


_________________
Forgive for my bad english, I from russia...
Post 14 Jul 2008, 20:55
View user's profile Send private message ICQ Number 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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.