It seems, that WinApe doesn't support < and > comparisons?
In Maxam a condition
- is true, if the result is >0
- is false, if the result is <=0
That makes it possible to test if a value is bigger than another one by creating negative results.
In WinApe a condition is only false, if the result is exactly 0.
Is there any way to test ranges in WinApe assembler? (beside the limit directive)
I think this is what I use, given the fact that WinAPE treats constants as unsigned words.
if a / b = 0
print "a<b"
else
print "a>=b"
endif
d_kef
Wow, this is working great! :)
Thanks a lot for the hint!
Interesting, I wonder how much code I can break by fixing it to act exactly like Maxam?