Pergunta

How can I build inline assembly with the Microsoft cl tool? when I try the standard

 asm(nop); 

it says unresolved external symbol asm. Any ideas? thanks!

Foi útil?

Solução

Try with the following:

__asm
{
    nop
    mov   eax, 4
}
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top