flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Reverend 05 Dec 2005, 20:48
Ooops. Sorry. Nearly equal example is shown in documentation. I checked it now. Should be:
Code: struc name data { . dd data .size = $-. } test1 name 100 ![]() |
|||
![]() |
|
vid 05 Dec 2005, 22:02
i think you don't need to escape "." when used inside name, it is regular part of name just like any other character, only some of whole names have special meaning. So i believe this should work too (and is closer to what you wanted with your original macro, because it leaves with another global label than in your 2nd post)
Code: struc name data { . dd data .#.size = $-. } test1 name 100 correct me if i am wrong |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.