Practical Computer Architecture with Python and ARM: An introductory guide for enthusiasts and students to learn how computers work and program their

Clements, Alan

  • 出版商: Packt Publishing
  • 出版日期: 2023-07-31
  • 售價: $1,740
  • 貴賓價: 9.5$1,653
  • 語言: 英文
  • 頁數: 412
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1837636672
  • ISBN-13: 9781837636679
  • 相關分類: Python程式語言
  • 海外代購書籍(需單獨結帳)

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

商品描述

Learn computer architecture with Python and ARM, simulating assembly program execution and designing a computer simulator

Purchase of the print or Kindle book includes a free PDF eBook

Key Features

  • Build a computer simulator with Python: Learn computer architecture by designing and constructing a simulator
  • Python for architecture: Use Python to simulate and execute assembly language instructions
  • ARM programming on Raspberry Pi: Explore ARM assembly language and run programs on Raspberry Pi

Book Description

This comprehensive guide offers a unique and immersive learning experience by combining Python programming with ARM architecture.

Starting with an introduction to computer architecture and the flow of data within a computer system, you’ll progress to building your own interpreter using Python. You’ll see how this foundation enables the simulation of computer operations and learn ways to enhance a simulator by adding new instructions and displaying improved results.

As you advance, you’ll explore the TC1 Assembler and Simulator Program to gain insights into instruction analysis and explore practical examples of simulators. This will help you build essential skills in understanding complex computer instructions, strengthening your grasp of computer architecture. Moreover, you’ll be introduced to the Raspberry Pi operating system, preparing you to delve into the detailed language of the ARM computer. This includes exploring the ARM instruction set architecture, data-processing instructions, subroutines, and the stack.

With clear explanations, practical examples, and coding exercises, this resource will enable you to design and construct your own computer simulator, simulate assembly language programs, and leverage the Raspberry Pi for ARM programming.

What you will learn

  • Master the core principles of computer architecture
  • Understand the role of registers, memory, and data flow in computers
  • Discover how to design and implement a computer simulator using Python
  • Simulate and execute assembly language programs on the simulator
  • Enhance the simulator using new instructions for improved output
  • Analyze complex computer instructions for deeper architectural understanding
  • Explore the ARM instruction set and data processing on the Raspberry Pi
  • Develop proficiency in writing, assembling, and running ARM code on the Raspberry Pi

Who this book is for

This book is for university students studying computer science, particularly those enrolled in a computer architecture module. With its practical approach and succinct explanations, it is also suitable for hobbyists, enthusiasts, and self-learners seeking a deeper understanding of computer systems. The book assumes foundational knowledge of number bases, binary arithmetic, and Boolean logic concepts. While it primarily caters to the computer science field, this book is less geared toward electrical or electronics engineering.

商品描述(中文翻譯)

使用Python和ARM學習計算機架構,模擬組合語言程序執行並設計計算機模擬器。

購買印刷版或Kindle書籍將包含免費的PDF電子書。

主要特點:

- 使用Python構建計算機模擬器:通過設計和構建模擬器來學習計算機架構。
- Python用於架構:使用Python模擬和執行組合語言指令。
- 在Raspberry Pi上進行ARM編程:探索ARM組合語言並在Raspberry Pi上運行程序。

書籍描述:

這本全面的指南通過結合Python編程和ARM架構,提供了獨特而身臨其境的學習體驗。

從計算機架構和計算機系統中的數據流介紹開始,您將進一步使用Python構建自己的解釋器。您將看到這個基礎如何實現計算機操作的模擬,並學習通過添加新指令和顯示改進的結果來增強模擬器的方法。

隨著您的進步,您將探索TC1組合語言組譯器和模擬器程序,以獲得指令分析的見解,並探索模擬器的實際示例。這將幫助您建立理解複雜計算機指令的基本技能,加強您對計算機架構的理解。此外,您還將介紹Raspberry Pi操作系統,為深入研究ARM計算機的詳細語言做好準備。這包括探索ARM指令集架構、數據處理指令、子程序和堆棧。

通過清晰的解釋、實用的示例和編程練習,這本資源將使您能夠設計和構建自己的計算機模擬器,模擬組合語言程序,並利用Raspberry Pi進行ARM編程。

您將學到什麼:

- 掌握計算機架構的核心原則。
- 理解寄存器、內存和數據流在計算機中的作用。
- 發現如何使用Python設計和實現計算機模擬器。
- 在模擬器上模擬和執行組合語言程序。
- 通過添加新指令來增強模擬器以獲得改進的輸出。
- 分析複雜的計算機指令以深入理解架構。
- 探索Raspberry Pi上的ARM指令集和數據處理。
- 熟練撰寫、組譯和運行Raspberry Pi上的ARM代碼。

本書適合專攻計算機科學的大學生,特別是那些修讀計算機架構課程的學生。由於其實用的方法和簡潔的解釋,它也適合愛好者、熱衷者和自學者,他們希望更深入地了解計算機系統。本書假設讀者具有數字進位、二進制算術和布爾邏輯概念的基礎知識。儘管主要面向計算機科學領域,但本書不太適合電氣或電子工程領域。

目錄大綱

  1. Product Information
  2. Introduction to the computer
  3. Computer architecture: Data flow in a computer
  4. Crafting an interpreter: First steps
  5. A little more Python
  6. Analyzing the Instruction
  7. The Different Types of Computing Technologies
  8. Adding New Instructions
  9. Displaying results
  10. Examples of simulators
  11. "Basics of the Raspberry Pi operating system"
  12. "ARM instruction set architecture"
  13. ARM data-processing instructions
  14. Appendix I: Examples of ARM code

目錄大綱(中文翻譯)

- 產品資訊
- 電腦介紹
- 電腦架構:電腦中的資料流
- 撰寫一個解譯器:第一步
- 進一步學習 Python
- 分析指令
- 不同類型的計算技術
- 新增指令
- 顯示結果
- 模擬器範例
- "Raspberry Pi 操作系統基礎"
- "ARM 指令集架構"
- ARM 資料處理指令
- 附錄一:ARM 代碼範例