flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
zenek_tm
How many times can I call a specific macro with local labels before fasm refuses to compile further?
|
|||
![]() |
|
uri
Code: macro pushstr string { local behind call behind db string,0 behind: } pushstr 'aaaaa' pushstr 'bbbbbbbb' call something this won't cause any problems. This is done by replacing "behind" with "behind?XXXXXXXX" where "XXXXXXXX" is some hexadecimal number generated by preprocessor. Last example can be for example preprocessed to Code: call behind?00000001 db 'aaaaa',0 behind?00000001: call behind?00000002 db 'bbbbbbbb',0 behind?00000002: call something (c) vid |
|||
![]() |
|
vid
glad somebody reads that
![]() |
|||
![]() |
|
zenek_tm
Well I guess all I wanted to know what is the format for local labels. Since it's label?xxxxxxxx I am fully satisfied because that gives about 2^32 different local labels
![]() |
|||
![]() |
|
uri
vid
glad somebody reads that thanks for this tutorial. it's very good job. |
|||
![]() |
|
vid
thx
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.