Back to School Sale: 40% off every eBook in every subject! Browse now >>

Low-Level Programming

C, Assembly, and Program Execution on Intel® 64 Architecture

Authors: Zhirkov, Igor

Download source code
  • Teaches how to use x64 assembly language to write low-level code for performance-critical programs Shows how to compile and execute low-level code in C inside the Intel 64 hardware and OS framework
  • Provides practice of a variety of optimization, debugging, and performance-gain techniques
Show all benefits

Buy this book

eBook $44.99
price for USA (gross)
  • ISBN 978-1-4842-2403-8
  • Digitally watermarked, DRM-free
  • Included format: EPUB, PDF
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover $59.99
price for USA
  • ISBN 978-1-4842-2402-1
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.
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 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

Intermediate to advanced programmers and programming students

About the authors

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.

Table of contents (22 chapters)

Buy this book

eBook $44.99
price for USA (gross)
  • ISBN 978-1-4842-2403-8
  • Digitally watermarked, DRM-free
  • Included format: EPUB, PDF
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover $59.99
price for USA
  • ISBN 978-1-4842-2402-1
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.

Services for this book

Loading...

Bibliographic Information

Bibliographic Information
Book Title
Low-Level Programming
Book Subtitle
C, Assembly, and Program Execution on Intel® 64 Architecture
Authors
Copyright
2017
Publisher
Apress
Copyright Holder
Igor Zhirkov
eBook ISBN
978-1-4842-2403-8
DOI
10.1007/978-1-4842-2403-8
Softcover ISBN
978-1-4842-2402-1
Edition Number
1
Number of Pages
XXVI, 435
Number of Illustrations and Tables
43 b/w illustrations, 4 illustrations in colour
Topics