MIXED-MODE PROGRAMS

A mixed-mode program is a source file, usually written in C/C++, calling another file written in assembly language. The purpose of having a mixed-mode program is that sometimes, it is easier to implement a routine in assembly language that has faster execution speed and shorter programming code than a similar routine written in C.

Here are some tips on how to assemble, compile, and link mixed-mode programs: