flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > struct pointer to this struct

Author
Thread Post new topic Reply to topic
Roman



Joined: 21 Apr 2012
Posts: 1847
Roman 21 May 2020, 18:33
Code:
struct gg
              pParms dd Par
              Par dd 0
ends
    

Fasm get error undefined symbol Par
Post 21 May 2020, 18:33
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8359
Location: Kraków, Poland
Tomasz Grysztar 21 May 2020, 19:01
With fasm 1 you can only use global symbols there. Your snippet works correctly with fasmg's implementation, though.
Post 21 May 2020, 19:01
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8359
Location: Kraków, Poland
Tomasz Grysztar 21 May 2020, 19:40
You may have more luck with the basic STRUC:
Code:
struc gg {
        .pParms dd .Par
        .Par dd 0
}    
Post 21 May 2020, 19:40
View user's profile Send private message Visit poster's website Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1847
Roman 22 May 2020, 05:20
Thanks.
Work.
Post 22 May 2020, 05:20
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.