Chapter 5: Assembly Module Interface to C Programs

image from book  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.



Visual C++ Optimization with Assembly Code
Visual C++ Optimization with Assembly Code
ISBN: 193176932X
EAN: 2147483647
Year: 2003
Pages: 50
Authors: Yury Magda

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net