[MPlayer-dev-eng] cpuid vs 386 vs 486

Gábor Lénárt lgb at lgb.hu
Thu Feb 7 05:09:48 CET 2002


On Wed, Feb 06, 2002 at 11:15:15AM +0200, Arpi wrote:
> Hi,
> 
> > mov eax,label      means   mov eax,offset label
> > 
> > to load dword at label you should use:
> > 
> > mov eax,[label]
> > 
> > Imho syntax of nasm is much cleaner than some strange nasm/tasm/whatever
> > syntax.
> 
> cleaner????????
> imho it's braindead, at least when you change from tasm to nasm...
> i've even wrote a tasm->nasm source converter :)

But it's much more logical. Juest read the dox. Under tasm/masm if
label is something constant mov eax,label will compile into mov eax,CONST,
while if label is a memory location (eg label) it will compile as:
mov eax,[LABEL], so nasm is much more logical.

- Gábor



More information about the MPlayer-dev-eng mailing list