In MIPS Assembly Language Programming, author Robert Britton offers you an understanding of how the functional components of modern computers are put together and how a computer works at the machine-language level. The book begins with a datapath diagram that shows a simple implementation of the MIPS architecture, consisting of a register file, an ALU, a memory, a program counter, and an instruction register. As you progress through the text, he will elaborate on this established datapath diagram model, allowing you to visualize how the instructions are fetched and executed as you write your programs.
The Spim simulator for the MIPS architecture runs on PCs and Unix® systems. All the programming exercises are done using this simulator, which can be downloaded for free from the Internet. Using the MIPS simulator allows students to observe the contents of the registers and memory changes as their programs execute. The students are not isolated by a particular operating system from experiencing and writing code dealing with:
- Memory-mapped I/0
- Interrupts and exception processing
- Delayed loads and delayed branches for a pipelined implementation
It is assumed that you already have some experience in developing algorithms, and running programs in a high-level language. The skills you will learn with MIPS Assembly Language Programming offer a sound basis for advanced work in computer architectures and complex assembly languages.
Softcover, 168 pages; this book is not returnable.
- 1. The MIPS Architecture
- 2. Algorithm Development in Pseudocode
- 3. Number Systems
- 4. PCSpim: The MIPS Simulator
- 5. Efficient Algorithm Development
- 6. Function Calls Using the Stack
- 7. Reentrant Functions
- 8. Memory Mapped I/O
- 9. Exceptions and Interrupts
- 10. A Pipelined Implementation
- 11. Floating-Point Instructions
- A. Quick Reference
- B. ASCII Codes
- C. Integer Instruction Set
- D. Macro Instructions
- E. A Modified Trap Handler
- F. Floating-Point Instruction Set