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

Gábor Lénárt lgb at lgb.hu
Wed Feb 6 08:32:25 CET 2002


On Wed, Feb 06, 2002 at 08:19:11AM +0100, David Holm wrote:
> > 
> > pushfd is intel syntax ...
> > pushfl is what u want
> > 
> 
> Gnu does not use intel syntax? Just out of curiosity, does nasm conform

No. It uses AT&T syntax, however I've heard that newer gcc's will (?)
support intel syntax as well. I've not tried it yet though.

> to intel syntax?

Yes. Though it does not support braindead syntax like:

mov eax,label[ebx]

instead:

mov eax,[ebx+label]

and:

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.

- Gábor



More information about the MPlayer-dev-eng mailing list