Reputation: 1200
How can I get VC inliner assembler to accept something like:
__asm
{
call L1
db "Hello",0
L1:
nop
nop
}
Or I have to use _emit 0xxNNh
all the way?
Upvotes: 0
Views: 766
Reputation: 6851
You can't use data directives in inline assembly.
Check out http://msdn.microsoft.com/en-us/library/h70hd396.aspx for explanation.
Upvotes: 1