April 2003
Intermediate to advanced
576 pages
15h 13m
English
The debugger, while a useful tool for exploration, is obviously not ideal for general input and output, especially for ASCII text strings. Textbook presentations of assembly language programming often imply that routines written in assembly language can be called from high-level languages, but—perhaps more by silence than by statement—routines written in a high-level language cannot or should not be called from assembly language programs. In actuality, mixed-language programming at the assembly language level is possible, but does require strict adherence to published calling standards.
Our minimal illustration (Figure 6-6) involves a pair of C external routines, ...