Comparing eax to 0, masm uses or eax,eax and Jwasm uses cmp eax,0
Is there a reason for this choice ? I would prefer masm's behaviour for compatibility/speed(?)/size. Of course the difference is normally negligible, but this is a very commonly used directive in a program.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Comparing eax to 0, masm uses or eax,eax and Jwasm uses cmp eax,0
Is there a reason for this choice ? I would prefer masm's behaviour for compatibility/speed(?)/size. Of course the difference is normally negligible, but this is a very commonly used directive in a program.
There's the -Zg commandline option which should make JWasm use OR instead of CMP.
Japheth
Ah, yes, it's all in the readme ... should have checked there first. Thanks japheth.