flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
zenek_tm 09 Apr 2004, 23:19
How many times can I call a specific macro with local labels before fasm refuses to compile further?
|
|||
![]() |
|
uri 05 May 2004, 12:59
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 05 May 2004, 19:11
glad somebody reads that
![]() |
|||
![]() |
|
zenek_tm 05 May 2004, 20:29
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 06 May 2004, 05:00
vid
glad somebody reads that thanks for this tutorial. it's very good job. |
|||
![]() |
|
vid 06 May 2004, 18:57
thx
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.