Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Computer Architecture with Python and ARM

You're reading from   Computer Architecture with Python and ARM Learn how computers work, program your own, and explore assembly language on Raspberry Pi

Arrow left icon
Product type Paperback
Published in Jul 2023
Publisher Packt
ISBN-13 9781837636679
Length 412 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Alan Clements Alan Clements
Author Profile Icon Alan Clements
Alan Clements
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Part 1: Using Python to Simulate a Computer
2. Chapter 1: From Finite State Machines to Computers FREE CHAPTER 3. Chapter 2: High-Speed Introduction to Python 4. Chapter 3: Data Flow in a Computer 5. Chapter 4: Crafting an Interpreter – First Steps 6. Chapter 5: A Little More Python 7. Chapter 6: TC1 Assembler and Simulator Design 8. Chapter 7: Extending the TC1 9. Chapter 8: Simulators for Other Architectures 10. Part 2: Using Raspberry Pi to Study a Real Computer Architecture
11. Chapter 9: Raspberry Pi: An Introduction 12. Chapter 10: A Closer Look at the ARM 13. Chapter 11: ARM Addressing Modes 14. Chapter 12: Subroutines and the Stack 15. Index 16. Other Books You May Enjoy Appendices – Summary of Key Concepts

To get the most out of this book

This book is split into two parts. The first part develops a computer simulator in Python and the second part provides a brief introduction to Raspberry Pi and uses it as a vehicle to teach ARM assembly language programming.

I used a PC with Windows to develop the Python programs. The reader may use a Windows-based system, an Apple Mac, or any Linux-based computer to develop Python. All the necessary software is freely available.

You can, of course, use Raspberry Pi itself to develop Python.

In order to write ARM assembly language programs and debug them, you need a Raspberry Pi. This is a single-board computer and requires a power supply, keyboard, mouse, and monitor. I have used both the Raspberry Pi 3 Model A+ and Raspberry Pi 4 Model B versions.

The software required to develop Python programs is freely available from https://www.python.org. The Raspberry Pi single-board computer is not sold with an operating system. You must either buy an SD card with the operating system installed or download it yourself. Details are given at https://www.raspberrypi.com/documentation/computers/getting-started.html.

If you are using the digital version of this book, we advise you to type the code yourself or access the code from the book’s GitHub repository (a link is available in the next section). Doing so will help you avoid any potential errors related to the copying and pasting of code.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at R$50/month. Cancel anytime