Menu

.IF translation

Valhalla
2009-03-29
2013-04-20
  • Valhalla

    Valhalla - 2009-03-29

    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.

     
    • Nobody/Anonymous

      There's the -Zg commandline option which should make JWasm use OR instead of CMP.

      Japheth

       
    • Valhalla

      Valhalla - 2009-03-30

      Ah, yes, it's all in the readme  ... should have checked there first. Thanks japheth.

       

Log in to post a comment.