Without Me It Just Aweso
Without Me It Just Aweso

Reputation: 4873

inline assembly with microsoft cl tool

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!

Upvotes: 0

Views: 77

Answers (1)

Gabriele Giuseppini
Gabriele Giuseppini

Reputation: 1581

Try with the following:

__asm
{
    nop
    mov   eax, 4
}

Upvotes: 1

Related Questions