undefined Symbol and Invalid combination of opcode and operands

Started by skirby, September 30, 2010, 03:26:46 PM

Previous topic - Next topic

skirby

Hello,

Is there any way that Pelles C 6.00.4 support the code below:
wordarray dw 1,2,3,4
movq mm0, OWORD PTR wordarray

I get the following error: error: Symbol 'oword' is undefined.

Also, the code below give me the error:
movdqa  oword ptr [edi], xmm0
error: Invalid combination of opcode and operands (or wrong CPU setting).


Thanks in advance and have a nice day.

skirby.

frankie

Try using XMMWORD to define a 128bits/8 words variable instead of OWORD (not implemented in POASM).
"It is better to be hated for what you are than to be loved for what you are not." - Andre Gide

skirby

Hello frankie and thanks for your answer,

In order to replace my opcode oword, I have done this : oword equ xmmword

But, now, I have the following error "error: Invalid combination of opcode and operands (or wrong CPU setting)." on the code below:
pxor    xmm0, xmm0
and
movdqa  xmmword ptr [edi], xmm0

I don't know why.
Thanks in advance if you have any idea.

I continue to search on the Web.

Have a nice day.