flat assembler
Message board for the users of flat assembler.
Index
> Linux > Implementing C structures in x86 assembly |
Author |
|
revolution 17 May 2015, 07:25
You can also use the struct macros for linux code if you wish to. They are quite a nice convenience. On the other hand you could manually construct them using the struc macro. Or on the third hand you can do what you did above and have no structure at all but instead do all the computations independently.
|
|||
17 May 2015, 07:25 |
|
alkap 17 May 2015, 07:54
Understood. Thanks.
I did look through the include files that come with the Linux distribution of fasm, but failed to find where the 'struct' macro is defined. Do I have to include the Windows STRUCT.INC in my Linux source files to make use of the 'struct' macro? Thanks. |
|||
17 May 2015, 07:54 |
|
revolution 17 May 2015, 09:58
alkap wrote: I did look through the include files that come with the Linux distribution of fasm, but failed to find where the 'struct' macro is defined. |
|||
17 May 2015, 09:58 |
|
alkap 17 May 2015, 14:04
Understood. I'll give that a try. Thanks.
|
|||
17 May 2015, 14:04 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.