flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution
You can try this:
Code: struc IMAGE_SYMBOL { virtual N.ShortName rb 8 end virtual virtual N.Name1.Short1 dd ? N.Name1.Long1 dd ? end virtual N.LongName rd 2 Value dd ? SectionNumber dw ? Type1 dw ? StorageClass db ? NumberOfAuxSymbols db ? } |
|||
![]() |
|
BiMode
Thx, I will try it.
|
|||
![]() |
|
madmatt
you can also use the 'struct' macro, which also has a union macro
Example: Code: struct IMAGE_SYMBOL union N.ShortName rb 8 ends union N.Name1.Short1 dd ? N.Name1.Long1 dd ? ends N.LongName rd 2 Value dd ? SectionNumber dw ? Type1 dw ? StorageClass db ? NumberOfAuxSymbols db ? ends |
|||
![]() |
|
sinsi
Unless you're going to access both parts, just make a struc for the one you do use.
|
|||
![]() |
|
revolution
madmatt wrote: you can also use the 'struct' macro, which also has a union macro |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.