Low-Level Programming: C, Assembly, and Program Execution on Intel® 64 Architecture
暫譯: 低階程式設計:C、組合語言與Intel® 64架構上的程式執行

Igor Zhirkov

  • 出版商: Apress
  • 出版日期: 2017-06-29
  • 定價: $2,700
  • 售價: 8.0$2,160
  • 語言: 英文
  • 頁數: 464
  • 裝訂: Paperback
  • ISBN: 1484224027
  • ISBN-13: 9781484224021
  • 相關分類: Assembly
  • 立即出貨 (庫存 < 4)

買這商品的人也買了...

商品描述

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

 

商品描述(中文翻譯)


學習 Intel 64 組合語言和架構,精通 C 語言,並了解程式如何被編譯和執行到機器指令,讓您能夠撰寫穩健且高效能的程式碼。

低階程式設計 解釋了 Intel 64 架構作為冯·诺依曼架構演變的結果。這本書從零開始教授最新版本的 C 語言(C11)和組合語言。它涵蓋了從源代碼到程式執行的整個過程,包括 ELF 物件檔案的生成,以及靜態和動態連結。書中包含了程式碼範例和練習,並介紹最佳的程式碼實踐。還探討了現代編譯器的優化能力和限制,使您能夠在程式可讀性和效能之間取得平衡。展示了各種性能提升技術的使用,例如 SSE 指令和預取。相關的計算機科學主題,如計算模型和形式文法也被提及,並解釋了它們的實用價值。

您將學到什麼

低階程式設計 教導程式設計師:


  • 自由地撰寫組合語言

  • 理解 Intel 64 的程式設計模型

  • 在 C11 中撰寫可維護且穩健的程式碼

  • 跟隨編譯過程並解讀組合語言清單

  • 除錯編譯後的組合語言程式碼中的錯誤

  • 使用適當的計算模型大幅降低程式複雜度

  • 撰寫性能關鍵的程式碼

  • 理解弱記憶模型在多執行緒應用中的影響

本書適合誰


中級至高級程式設計師和程式設計學生