flat assembler
Message board for the users of flat assembler.
Index
> Main > register alias |
Author |
|
revolution 28 Mar 2018, 21:38
Use equ
Code: counter equ eax inc counter mov ebx,counter add ecx,counter add counter,0x12345 |
|||
28 Mar 2018, 21:38 |
|
DimonSoft 29 Mar 2018, 09:54
revolution already gave you a solution. I’ll just say that the answer to the question…
swdv wrote: A temporary macro would also be great, but I don't think it is possible to delete a macro, is it? … is yes. It is possible. Both for macros and for equs. purge does the magic for macros, restore works for symbolic constants defined with equ. |
|||
29 Mar 2018, 09:54 |
|
revolution 29 Mar 2018, 10:28
Thanks for the follow-up. Also restruc for structures defined with struc.
|
|||
29 Mar 2018, 10:28 |
|
swdv 29 Mar 2018, 19:25
Wow thanks all! These are really helpful! I'm relatively new to assembly & FASM but I quite like it so far
|
|||
29 Mar 2018, 19:25 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.