flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 25 Oct 2010, 23:39
struct != struc
Use the tools provided by fasm to see what struct does: "PREPSRC.INC" |
|||
![]() |
|
ouadji 26 Oct 2010, 00:00
PREPSRC.INC ? thank revolution you for your reply, but that does not help me much. |
|||
![]() |
|
revolution 26 Oct 2010, 00:01
In the "TOOLS" folder.
|
|||
![]() |
|
ouadji 26 Oct 2010, 00:05
yes, I know, I've seen. and what do I do with this file? or it is already too late and my brain is sleeping ... it's possible too! ![]() |
|||
![]() |
|
revolution 26 Oct 2010, 00:12
Go to the sub folder TOOLS\WIN32 and assemble "PREPSRC.ASM"
|
|||
![]() |
|
Tomasz Grysztar 26 Oct 2010, 07:40
Actually, it it not really related to "struct" being not the same as "struc", since with "struc" exactly the same happens:
Code: struc toto { .v1 dd ? } mov eax,mystruct + 4 ; does compile mov eax,mystruct.mylocal ; does not compile mystruct toto .mylocal: dw1 dd ? |
|||
![]() |
|
ouadji 26 Oct 2010, 08:12
Code: struct toto v1 dd ? ends mov eax,mystruct.v1.mylocal mystruct toto .mylocal: "mystruct.v1" is a "global" label .... ok, understood Tomasz. (dito for "struct" AND for "struc") this is very important for the future behavior of wink. thank you for your explanation. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.