Вопрос

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!

Это было полезно?

Решение

Try with the following:

__asm
{
    nop
    mov   eax, 4
}
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top