I have the following code with a simple assembly procedure
.686p
.model flat, stdcall
.mmx
.xmm
.code
DataString DB 'AGIJKSZ', 0FFH ;
MyProc1 proc
vpbroadcastd ymm0, [4 bytes of JJJJ]
vpcmpeqb ymm0, ymm0, [DataString]
vpmovmskb eax, ymm0
tzcnt eax, eax
ret
MyProc1 endp
end
However, when I try to compile it, I get Missing operator in expression
on vpbroadcastd
and
Error MSB3721 The command "ml.exe /c /nologo /Zi /Fo"Debug\JAAsm.obj" /W3 /errorReport:prompt /TaJAAsm.asm" exited with code 1.'
Is it becouse I chose wrong CPU or didn't include the instruction set, or there is something in my VS2015 project setup? Or maybe there is something missing in the code?