flat assembler
Message board for the users of flat assembler.
Index
> Main > Trouble with anonymous labels and macros |
Author |
|
revolution 21 Oct 2010, 08:40
Simple rule: Don't use anonymous labels in macros. Use local labels instead.
Code: macro CHKERR { local .x test eax,eax jnz .x jmp report_error .x: } Code: macro CHKERR { test eax,eax jz report_error } |
|||
21 Oct 2010, 08:40 |
|
lemask 27 Oct 2010, 09:52
Thanks for the tip, revolution!
|
|||
27 Oct 2010, 09:52 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.