A2070 de error: operandos de las instrucciones SSE no válida en MASM64
Pregunta
al compilar esto en ml64.exe 64 bits (masm64) el comando SSE dame un error ¿Qué necesito hacer para incluir comandos de la ESS en 64 bits?
.code
foo PROC
movlps [rdx], xmm7 ;;error A2070: invalid instruction operands
movhlps xmm6, xmm7
movss [rdx+8], xmm6 ;;rror A2070: invalid instruction operands
ret
foo ENDP
end
Me sale el 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"
Solución
Así modificar las dos líneas a:
movlps QWORD PTR [RDX], xmm7
movss dword ptr [RDX + 8], xmm6
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow