flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > Compiler Internals > '.aSub label dword at 0' failure

Author
Thread Post new topic Reply to topic
idle



Joined: 06 Jan 2011
Posts: 338
Location: ukraina
'.aSub label dword at 0' failure
Hi, fasm raises errors on next code:

Code:

aLabel:
.aSub label dword at 0 ;etc at


Post 08 Jan 2017, 19:58
View user's profile Send private message Send e-mail Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 6255
Location: Kraków, Poland
The correct syntax is:

Code:
aLabel:
label .aSub:dword at 0

Post 08 Jan 2017, 20:35
View user's profile Send private message Visit poster's website Reply with quote
idle



Joined: 06 Jan 2011
Posts: 338
Location: ukraina
Why do win32 headers enable first construct?
Tnx in advance.
Post 08 Jan 2017, 21:17
View user's profile Send private message Send e-mail Reply with quote
l_inc



Joined: 23 Oct 2009
Posts: 868
idle
To be able to process it uniformly with the data definition directives inside blocks of local variable definitions (inside procedures). As far as I can tell, it is meant for internal purposes only, but not quite nicely defined to be globally visible.

_________________
Faith is a superposition of knowledge and fallacy
Post 08 Jan 2017, 23:27
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


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.