9
Raspberry Pi: An Introduction
In previous chapters, we introduced the digital computer and explained its operation at the instruction set level. Now you will learn about a real, low-cost computer that was designed for educational purposes.
In this chapter, we introduce Raspberry Pi, which is based on the popular ARM microprocessor. We describe its instruction set architecture and demonstrate how you can use it to run assembly language programs in debugging mode. The highlights of this chapter are as follows:
- An introduction to Raspberry Pi’s operating system
- Using the GCC ARM assembler and linker
- Debugging ARM assembly language programs
This is not a handbook for Raspberry Pi. We are interested only in using it to enter assembly language programs, run them, and observe their behavior. We do not cover Raspberry Pi’s Windows-style GUI because it is very similar to the corresponding PC and macOS user interfaces. Moreover, the Raspberry Pi operating...