flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > "if" macros |
Author |
|
CandyMan 10 Jan 2024, 18:49
Code: include "if.inc" .if ([.dwCaps] & 400h) ;needed test [.dwCaps],400h nop .endif .dwCaps dd ? _________________ smaller is better |
|||
10 Jan 2024, 18:49 |
|
AsmGuru62 10 Jan 2024, 19:01
What about "and" in place of "&"?
Code: .if ([.dwcaps] and 400h) = 400h .endif |
|||
10 Jan 2024, 19:01 |
|
CandyMan 11 Jan 2024, 08:47
Only this code works the way I want:
Code: test [.dwCaps],400h .if ~ZERO? nop .endif _________________ smaller is better |
|||
11 Jan 2024, 08:47 |
|
Overclick 11 Jan 2024, 11:01
Maybe this macro what you looking for
https://board.flatassembler.net/topic.php?t=22423 |
|||
11 Jan 2024, 11:01 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.