
Low-Level Programming
C, Assembly, and Program Execution on Intel® 64 Architecture
- English
- PDF
- Available on iOS & Android
About this book
Learn Intel 64 assembly language and architecture, become proficient in C, and understand how the programs are compiled and executed down to machine instructions, enabling you to write robust, high-performance code.
Low-Level Programming explains Intel 64 architecture as the result of von Neumann architecture evolution.The book teaches the latest version of the C language (C11) and assembly language from scratch.It covers the entire path from source code to program execution, including generation of ELF object files, and static and dynamic linking. Code examples and exercises are included along with the best code practices.Optimization capabilities and limits of modern compilers are examined, enabling you to balance between program readability and performance. The use of various performance-gain techniques is demonstrated, such as SSE instructions and pre-fetching. Relevant Computer Science topics such as models of computation and formal grammars are addressed, and their practical value explained.
What You'll Learn
Low-Level Programming teaches programmers to:
- Freely write in assembly language
- Understand the programming model of Intel 64
- Write maintainable and robust code in C11
- Follow the compilation process anddecipher assembly listings
- Debug errors in compiled assembly code
- Use appropriate models of computation to greatly reduce program complexity
- Write performance-critical code
- Comprehend the impact of a weak memory model in multi-threaded applications
Who This Book Is For
Intermediate to advanced programmers and programming students
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Table of contents
- Contents at a Glance
- Contents
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Introduction
- Part I: Assembly Language and Computer Architecture
- Part II: The C Programming Language
- Part III: Between C and Assembly
- Part IV: Appendices
- Index