2010-03-15 81 views
1

在ml64.exe中編譯時64位(masm64) SSE命令給我一個錯誤 我需要做什麼才能將SSE命令包含在64位中?錯誤A2070:無效的指令操作數IN SSE MASM64

.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" 

回答