error A2070: invalid instruction operands IN SSE MASM64

Posted by Green on Stack Overflow See other posts from Stack Overflow or by Green
Published on 2010-03-15T09:52:55Z Indexed on 2010/03/15 11:09 UTC
Read the original article Hit count: 575

Filed under:
|
|
|

when compiling this in ml64.exe 64bit (masm64) the SSE command give me an error what do i need to do to include the SSE commands in 64 bit?

.code

test PROC

  movlps [rdx], xmm7 ;;error A2070: invalid instruction operands
  ;//Inc in vec ptr
  add rsi, 16
  movhlps xmm6, xmm7
  movss [rdx+8], xmm6 ;;rror A2070: invalid instruction operands
  ret

test ENDP

end

i get the error:

1>Performing Custom Build Step
1> Assembling: extasm.asm
1>extasm.asm(6) : error A2070: invalid instruction operands
1>extasm.asm(10) : error A2070: invalid instruction operands
1>Microsoft (R) Macro Assembler (x64) Version 8.00.50727.215
1>Copyright (C) Microsoft Corporation.  All rights reserved.
1>Project : error PRJ0019: A tool returned an error code from "Performing Custom Build Step"

© Stack Overflow or respective owner

Related posts about sse

Related posts about masm