flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > macro problems with restore. |
Author |
|
revolution 23 Dec 2022, 13:04
Mixing the assembler stage with the preprocessor stage is always tricky.
You can "fix" it with match Code: macro buu { local here match =buu_int,buu_int \{ buu_int equ 1 buu_a equ inc eax buu_a equ dec edx buu_a equ mov esi,1 display 'a;;' \} buu_a restore buu_a display 'b;;' } buu buu buu |
|||
23 Dec 2022, 13:04 |
|
Roman 23 Dec 2022, 13:18
Thanks. Work.
I always forget about: assembler stage with the preprocessor stage is always tricky. Its introduces me in perplexity. |
|||
23 Dec 2022, 13:18 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.