flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
baldr
alorent
Looks like define@union supplementary macro depends on label functionality, but assume macro overloads label with no-op. I'll investigate that later. |
|||
![]() |
|
alorent
Hi baldr, any ideas if there is a workaround for this already?
Maybe Tomasz can help? Thanks! |
|||
![]() |
|
baldr
alorent,
Well, I have one (haven't published it yet because it seems like hack, not solution): Code: match assumed, reg\#@assumed \\{ irp name, assumed \\\{ restore name \\\} \\} ;--- INCLUDE\MACRO\MASM.INC [29] Allow to use unions inside assumed structs ; macro label . \\{ \\} ;+++ macro label . \\{ \\local .name match name rest, . \\\{ .name equ name \\\} match =.name, .name \\\{ .name equ . \\\} if ~ .name eqtype eax label . end if restore .name \\} ;=== struc db [val] \\{ \common def@assumed reg,.,db val \\} |
|||
![]() |
|
alorent
Thanks baldr!!
I'm going to check it. Hopefully nothing is destroyed in my code ![]() Thanks!!! |
|||
![]() |
|
alorent
baldr,
I have checked your assume mods and it seems to work perfectly! ![]() Do you think that some problems could arise in complex structs with unions when using your modified assume? I'm going to do more tests anyway... Thanks for your great work!!! |
|||
![]() |
|
Tomasz Grysztar
A bit better (I think) fix is included in the latest package.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.