The MASM Forum

General => The Campus => Topic started by: Ficko on November 27, 2012, 12:57:30 AM

Title: Encoding question.
Post by: Ficko on November 27, 2012, 12:57:30 AM
Hi!

Is there a way to tell ML or JWASM to use shorter encoding ?

Like

8326 00               AND DWORD PTR DS:[ESI],00000000

Instead of

8126 00000000         AND DWORD PTR DS:[ESI],00000000

Title: Re: Encoding question.
Post by: jj2007 on November 27, 2012, 01:19:03 AM
They both use the short version by default.
Title: Re: Encoding question.
Post by: Ficko on November 27, 2012, 02:02:36 AM
Not by me. :(
Title: Re: Encoding question.
Post by: Ficko on November 27, 2012, 02:04:20 AM
What you mean by "default" how you can tell them what to do ?
Title: Re: Encoding question.
Post by: Ficko on November 27, 2012, 02:14:18 AM
Never mind.
I have messed up my macro and it expanded to:

and [esi], dword ptr 0

,which of curse enforced the longer encoding. :redface: