Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to have Assembly inline code in C/C++?
Message
From
10/09/2000 05:31:49
 
 
To
02/09/2000 11:05:10
General information
Forum:
Visual C++
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00412082
Message ID:
00414672
Views:
15
You can link to assembly language object files created by MASM, TASM or inline your ASM code. To inline the assembly language code you use the __asm keyword.

You can write your assembly language as either a block or single lines, for example:-
// Inline assembly block.
__asm
{
   pop cx           
   pop di           
   add di, cx     
   push di       
}

// Single inline statements.
__asm pop cx           
__asm pop di           
__asm add di, cx     
__asm push di       
Previous
Reply
Map
View

Click here to load this message in the networking platform