IF without an expression
In SASM, can IF be used without an expression?· In other words, is the following snippet meaningful:
IF 0
.
.
.
ENDIF
What is being tested?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Regards,
Jim
IF 0
.
.
.
ENDIF
What is being tested?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Regards,
Jim
Comments
This is typically used to comment out a block of code. The "if" conditional will fail with zero as the test value, so everything inside will not get assembled.
Thanks,
PeterM
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Regards,
Jim