Tuesday, November 3, 2009

Chapter 5: Assembly Module Interface to C++ Programs














































Chapter 5: Assembly Module Interface to C++ Programs



 Download CD Content



Overview


The Visual C++ .NET 2003 development environment
is very powerful and has inline assembly language development tools.
The main advantage of the inline assembly code is the simplicity,
because you do not have to create an additional code for linking and
you do not have problems naming and passing parameters.


On the other hand, the inline assembler has certain
disadvantages. Limitations laid by the compiler affect the code of
assembly blocks and functions, especially when it comes to optimizing
the application. Problems with inline assembly code can arise when
compiling an application for different platforms.


The use of stand-alone assembly modules in C++ .NET
programs gives you many more options for optimization of your
applications. Also, modules that are compiled separately can be reused
in other applications, something that is hardly possible with the
inline assembler.


This chapter will focus on the development of stand-alone assembly module interfaces to C++ programs.





































No comments: