yasm error: invalid combination of opcode and operands

PeterMüller residue at xmail.net
Wed Feb 11 23:54:25 PST 2004


Sorry, was my fault.

with best regards
peter

Quoting Peter Johnson <peter at tortall.net>:

> Peter,
> 
> According to the Intel instruction set reference, movdqa only takes SSE
> register parameters (e.g. "xmm2"), not MMX registers (e.g. "mm2"), which
> is why yasm rejects the instruction.
> 
> Regards,
> Peter Johnson
> 
> On Mon, 9 Feb 2004, Peter [ISO-8859-1] Müller wrote:
> 
> > Hi,
> >
> > yasm doesn't assemble 'movdqa	[esp + st_struc.s_yp + 8],mm2'.
> > test with the latest cvs snapshot 08. Feb. 2004
> >
> > here is a little test:
> >
> > cpu P4
> >
> > section .data
> >
> > struc  st_struc
> >   .s_yp		resq	2
> > endstruc
> >
> > section .text
> >
> > global invalidop
> > invalidop:
> >     enter	0, 0
> >     sub         esp,((st_struc_size) + 3) & 0FFFFFFFCh
> >     and 	esp, 0FFFFFFF0h
> >     movdqa	[esp + st_struc.s_yp + 8],mm2
> >     leave
> >     ret
> > __invalidop:
> >
> > commandline: yasm --arch=x86 --oformat=elf --machine=x86 --parser=nasm
> --preproc=nasm
> > pre.asm -o pre.o
> >
> > with regards
> > peter
> >
> >
>
-------------------------------------------------------------------------------------------
> > ***Protect your PC from local E-Mail Application security holes***
> > ***Maintain your Privacy - MS Passport Free***
> > ***Anti SPAM "Whitelist" feature***
> >
> > http://www.xmail.net Web E-Mail, accessible anywhere, 128 bit SSL Secure
> >
> > Voice Messages, Voice Calls (VoIP), Video Conferencing, Live Chat,
> > XMail Messenger, Personal Web Hosting, Private Disk Storage,
> > Calendar, Bookmarks, Forwarding, Virtual Mail Map Aliasing
> >
> > XMail Premium: 20 - 250MB Storage, 20MB Messages, SMTP, POP3, Ad Free
> > Starting at $9.95 per year
> >
>
-------------------------------------------------------------------------------------------
> > Anonymous Web Surfing http://www.snoopblocker.com
> > Search http://www.teradex.com
> > _______________________________________________
> > bug-yasm mailing list
> > bug-yasm at tortall.net
> > http://cvs.tortall.net/mailman/listinfo/bug-yasm
> >
> _______________________________________________
> bug-yasm mailing list
> bug-yasm at tortall.net
> http://cvs.tortall.net/mailman/listinfo/bug-yasm
> 

-------------------------------------------------------------------------------------------
***Protect your PC from local E-Mail Application security holes***
***Maintain your Privacy - MS Passport Free***
***Anti SPAM "Whitelist" feature***

http://www.xmail.net Web E-Mail, accessible anywhere, 128 bit SSL Secure

Voice Messages, Voice Calls (VoIP), Video Conferencing, Live Chat, 
XMail Messenger, Personal Web Hosting, Private Disk Storage,  
Calendar, Bookmarks, Forwarding, Virtual Mail Map Aliasing

XMail Premium: 20 - 250MB Storage, 20MB Messages, SMTP, POP3, Ad Free
Starting at $9.95 per year
-------------------------------------------------------------------------------------------
Anonymous Web Surfing http://www.snoopblocker.com
Search http://www.teradex.com


More information about the bug-yasm mailing list