错误A2070:上证MASM64无效指令操作数
题
在64位ml64.exe(masm64)编译这个时 上证所命令给我一个错误 我需要什么做以包括在SSE 64的命令位?
.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
我得到的错误:
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"
解决方案
因此,两行修改为:
movlps QWORD PTR [RDX],XMM7
MOVSS DWORD PTR [RDX + 8],xmm6
像这里: 的http://社会。 msdn.microsoft.com/Forums/en-US/vcgeneral/thread/4f473acb-7b14-4bf4-bed3-e5e87e1f81e7
不隶属于 StackOverflow