flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > Error in ASSUME macro |
Author |
|
baldr 11 Feb 2010, 14:54
alorent
Looks like define@union supplementary macro depends on label functionality, but assume macro overloads label with no-op. I'll investigate that later. |
|||
11 Feb 2010, 14:54 |
|
alorent 26 May 2010, 15:57
Hi baldr, any ideas if there is a workaround for this already?
Maybe Tomasz can help? Thanks! |
|||
26 May 2010, 15:57 |
|
baldr 26 May 2010, 18:43
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 \\} |
|||
26 May 2010, 18:43 |
|
alorent 27 May 2010, 08:46
Thanks baldr!!
I'm going to check it. Hopefully nothing is destroyed in my code Thanks!!! |
|||
27 May 2010, 08:46 |
|
alorent 27 May 2010, 11:43
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!!! |
|||
27 May 2010, 11:43 |
|
Tomasz Grysztar 31 Aug 2010, 09:23
A bit better (I think) fix is included in the latest package.
|
|||
31 Aug 2010, 09:23 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.