Appendix F. Inline Assembly

In this book, we have shown how to combine modules written in assembly language and high-level languages. Most commonly, high-level language programs will call custom assembly language routines, though we have also demonstrated how a main program in assembly language could call functions written in a high-level language.

Some programming environments define inline assembly as a method to integrate assembly language into a high-level language, typically using a generic function-like construct whose argument is a short sequence of assembly language instructions.

Inline assembly support in Itanium programming languages allows system and application developers to:

  • gain access to machine resources, such as the psr (the ...

Get Itanium® Architecture for Programmers: Understanding 64-Bit Processors and EPIC Principles now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.