Learn to Program with Assembly: Foundational Learning for New Programmers (Paperback)
暫譯: 用組合語言學習程式設計:新手程式設計師的基礎學習
Bartlett, Jonathan
買這商品的人也買了...
-
$1,860$1,767 -
$2,300$2,185 -
$3,500$3,325 -
$1,665Sams Teach Yourself C++ in One Hour a Day, 9/e (Paperback)
-
$2,530$2,404
相關主題
商品描述
Many programmers have limited effectiveness because they don't have a deep understanding of how their computer actually works under the hood. In Learn to Program with Assembly, you will learn to program in assembly language - the language of the computer itself.
Assembly language is often thought of as a difficult and arcane subject. However, author Jonathan Bartlett presents the material in a way that works just as well for first-time programmers as for long-time professionals. Whether this is your first programming book ever or you are a professional wanting to deepen your understanding of the computer you are working with, this book is for you. The book teaches 64-bit x86 assembly language running on the Linux operating system. However, even if you are not running Linux, a provided Docker image will allow you to use a Mac or Windows computer as well.
The book starts with extremely simple programs to help you get your grounding, going steadily deeper with each chapter. At the end of the first section, you will be familiar with most of the basic instructions available on the processor that you will need for any task. The second part deals with interactions with the operating system. It shows how to make calls to the standard library, how to make direct system calls to the kernel, how to write your own library code, and how to work with memory. The third part shows how modern programming language features such as exception handling, object-oriented programming, and garbage collection work at the assembly language level.
Additionally, the book comes with several appendices covering various topics such as running the debugger, vector processing, optimization principles, a list of common instructions, and other important subjects.
This book is the 64-bit successor to Jonathan Bartlett's previous book, Programming from the Ground Up, which has been a programming classic for more than 15 years. This book covers similar ground but with modern 64-bit processors, and also includes a lot more information about how high level programming language features are implemented in assembly language.
What You Will Learn
• How the processor operates
• How computers represent data internally
• How programs interact with the operating system
• How to write and use dynamic code libraries
• How high-level programming languages implement their features
Who This Book Is ForAnyone who wants to know how their computer really works under the hood, including first time programmers, students, and professionals.
商品描述(中文翻譯)
許多程式設計師的效能有限,因為他們對電腦的內部運作缺乏深入的理解。在《學習使用組合語言編程》中,您將學習如何使用組合語言進行編程——這是電腦本身的語言。組合語言通常被認為是一個困難且深奧的主題。然而,作者 Jonathan Bartlett 以一種適合初學者和資深專業人士的方式呈現這些內容。無論這是您第一本編程書籍,還是您希望加深對所使用電腦理解的專業人士,這本書都適合您。本書教授在 Linux 作業系統上運行的 64 位 x86 組合語言。然而,即使您不使用 Linux,提供的 Docker 映像也能讓您在 Mac 或 Windows 電腦上使用。
本書從極其簡單的程式開始,幫助您打下基礎,並在每一章中逐步深入。在第一部分結束時,您將熟悉處理器上大多數基本指令,這些指令是您執行任何任務所需的。第二部分涉及與作業系統的互動。它展示了如何調用標準庫、如何直接向核心進行系統調用、如何編寫自己的庫代碼以及如何處理記憶體。第三部分展示了現代編程語言特性,如例外處理、物件導向編程和垃圾回收,如何在組合語言層面上運作。
此外,本書附有幾個附錄,涵蓋各種主題,如運行除錯器、向量處理、優化原則、常見指令列表及其他重要主題。本書是 Jonathan Bartlett 之前的著作《從基礎開始編程》的 64 位繼任者,該書已經成為超過 15 年的編程經典。本書涵蓋了類似的內容,但針對現代 64 位處理器,並且還包含了更多有關高級編程語言特性如何在組合語言中實現的信息。
您將學到的內容:
- 處理器的運作方式
- 電腦如何在內部表示數據
- 程式如何與作業系統互動
- 如何編寫和使用動態代碼庫
- 高級編程語言如何實現其特性
本書適合任何想了解電腦內部運作的人,包括初學者、學生和專業人士。
作者簡介
Jonathan Bartlett is a software developer, researcher, and writer. His first book, Programming from the Ground Up, has been required reading in computer science programs from DeVry to Princeton. He has been the sole or lead author for eight books on topics ranging from computer programming to calculus. He is a technical lead for ITX, where his specialty is getting stuck projects unstuck.
作者簡介(中文翻譯)
喬納森·巴特利特(Jonathan Bartlett)是一位軟體開發人員、研究員和作家。他的第一本書《從基礎開始的程式設計》(Programming from the Ground Up)已成為德弗瑞(DeVry)到普林斯頓(Princeton)等計算機科學課程的必讀書籍。他是八本書的唯一或主要作者,主題涵蓋從計算機程式設計到微積分等各個領域。他目前是ITX的技術負責人,專長於使停滯的專案重新啟動。