flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > '.aSub label dword at 0' failure

Author
Thread Post new topic Reply to topic
idle



Joined: 06 Jan 2011
Posts: 440
Location: Ukraine
idle 08 Jan 2017, 19:58
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 Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8395
Location: Kraków, Poland
Tomasz Grysztar 08 Jan 2017, 20:35
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: 440
Location: Ukraine
idle 08 Jan 2017, 21:17
Why do win32 headers enable first construct?
Tnx in advance.
Post 08 Jan 2017, 21:17
View user's profile Send private message Reply with quote
l_inc



Joined: 23 Oct 2009
Posts: 881
l_inc 08 Jan 2017, 23:27
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


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

Website powered by rwasa.