Low-Level Programming: C, Assembly, and Program Execution on Intel(r) 64 Architecture - Paperback
by Igor Zhirkov (Author)
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 andformal 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 and decipher 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
Back Jacket
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 grammarsare addressed, and their practical value explained.
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 and decipher 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
Author Biography
Igor Zhirkov teaches his highly successful "System Programming Languages" course at ITMO University in Saint Petersburg. He studied at Saint Petersburg Academic University and received his master degree from ITMO University. Currently, he is doing research in verified C refactorings as part of his PhD thesis and formalization of Bulk Synchronous Parallelism library in C at IMT Atlantique in Nantes, France. His main interests are low-level programming, programming language theory, and type theory.
| Author | Igor Zhirkov |
|---|---|
| Format | Paperback |
| Pages | 435 |
| Publisher | Apress |
| Published | June 29, 2017 |
| ISBN-13 | 9781484224021 |
| Condition | Brand new |
Shipping
Every book ships brand new from a US warehouse within 1–4 business days and travels by USPS Media Mail with tracking. Most orders arrive 5–10 business days after you order; holidays and bad weather can add a few days.
Free shipping on orders $50+, otherwise $4.99 per order. We deliver to all 50 states, APO/FPO addresses and US territories. Shipping policy
Damaged book? Returns
If your book arrives damaged, defective or isn't the title you ordered, email support@readridge.com within 7 days of delivery with your order number and a photo. We'll send a free replacement or a full refund — no need to ship it back unless we ask.
Because each book is shipped new and sealed to you, we can't accept returns for change of mind or a title ordered by mistake. Please double-check the format and edition before checkout. Refund policy
Sending it as a gift?
Just enter the recipient's shipping address at checkout. The box arrives labeled “Your Book Order”, with no receipt or prices inside — gift-ready by default.