flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
ProMiNick 14 Apr 2021, 16:06
If to be to lazy to check each:
Code: macro ifcompilablevar statement& { local a match instr size_spec[var]=, value,statement \{ a = $-1 if defined var statement end if \} match instr reg =,size_spec[var],statement \{ a = $-1 if defined var statement end if \} if ~defined a statement end if } hello: ; comment hello or world and see difference ifcompilablevar mov dword [ hello+world ] , 1 world: size specifiers could be skipped if all vars would be defined as vars not as unsized labels. |
|||
![]() |
|
Roman 14 Apr 2021, 16:17
Thanks.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.