Domanda

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!

È stato utile?

Soluzione

Try with the following:

__asm
{
    nop
    mov   eax, 4
}
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top