flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > First Macro - Code Review |
Author |
|
revolution 22 Jul 2018, 22:52
You can use local labels in macros:
Code: macro check_flag msg, bit { local .skip pushf push msg call printf add esp, 4 pop eax ; get flags into eax test ax, bit jz .skip push set_m call printf add esp, 4 .skip: } |
|||
22 Jul 2018, 22:52 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.