flat assembler
Message board for the users of flat assembler.

Index > Main > UNION support ?

Author
Thread Post new topic Reply to topic
james



Joined: 07 Sep 2005
Posts: 45
Location: Australia
james
Does FASM support UNIONS in structures and if so, can someone show me
an example ?

rgs, james.
Post 08 Sep 2005, 20:58
View user's profile Send private message MSN Messenger Reply with quote
farrier



Joined: 26 Aug 2004
Posts: 274
Location: North Central Mississippi
farrier
james,

Welcome to the FASM world!!

From page 89+ of the FASM pdf file:


Code:
struct BAR
   field_1 dd ?
   union
      field_2 dd ?
      field_2b db ?
   ends
ends    



hth,

farrier

_________________
Some Assembly Required
It's a good day to code!
U.S.Constitution; Bill of Rights; Amendment 1:
... the right of the people peaceably to assemble, ...
The code is dark, and full of errors!
Post 09 Sep 2005, 05:36
View user's profile Send private message Reply with quote
james



Joined: 07 Sep 2005
Posts: 45
Location: Australia
james
farrier,

Thankyou for the warm welcome.
Im just geeting into FASM and I like what I see.
Very happy to know unions are supported.

Since you were nice enough to reply, could I also ask if you know
where I can find and example of an SO in FASM for Linux.
I know how to make Win32 DLL's but I want to do the same in Linux.

Then I can start my Win32/Linux project in FASM Smile

Rgs James.
Post 09 Sep 2005, 08:50
View user's profile Send private message MSN Messenger 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-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.