EmbeddedRelated.com
Books

Mips Risc Architecture

Kane, Gerry, Heinrich, Joe ● 1991

A complete reference manual to the MIPS RISC architecture, this book describes the user Instruction Set Architecture (ISA), by the R2000, R3000, R4000, and R6000 (collectively known as the R-Series) processors, together with an extension to this ISA. Focusing on the new R4000 and R6000 chips, this book is organized into two major sections: Chapters 1 through 6 describe the characteristics of the CPU, while Chapter 7 through 9 describe the Floating Point Unit (FPU). This book describes the general characteristics and capabilities of each RISC processor, along with a description of the programming model, memory management unit (MMU), and the registers associated with each processor. Also included is an overview of the underlying concepts that distinguish RISC architecture from Complex Instruction Set Computer (CISC) architecture.


Why Read This Book

You should read this book if you need a rigorous, low-level reference for the classic MIPS R-series processors — it documents the ISA, registers, MMU, exceptions and FPU behavior you’ll need when writing boot code, low-level firmware, or porting an OS. It also explains RISC design decisions that help you reason about pipeline behavior, exception handling, and performance trade-offs on MIPS systems.

Who Will Benefit

Firmware engineers, OS porters, compiler backend writers, and advanced students who are working on or maintaining MIPS-based embedded systems, bootloaders, or kernel code.

Level: Advanced — Prerequisites: Familiarity with computer architecture basics, assembly language concepts, C programming, and operating-system level concepts (virtual memory, exceptions).

Get This Book

Key Takeaways

  • Describe the MIPS programming model including register conventions and calling sequences.
  • Decode and use the integer and control-flow instruction set used by R2000–R6000 CPUs.
  • Configure and reason about the MIPS MMU, virtual memory layout, and exception handling for OS/firmware code.
  • Implement and debug floating-point code using the MIPS FPU (formats, instructions, and exceptions).
  • Design low-level firmware, boot code, and trap/interrupt handlers tailored to MIPS R-series behavior.

Topics Covered

  1. Introduction to MIPS and RISC principles
  2. Overview of the R-Series processors (R2000, R3000, R4000, R6000)
  3. MIPS Programmer’s Model and Registers
  4. Integer Instruction Set and Encoding
  5. Control Flow, Branching and Calling Conventions
  6. Memory System, Caches and Load/Store Model
  7. Memory Management Unit (MMU) and Virtual Memory
  8. Exceptions, Interrupts and Trap Handling
  9. Floating Point Unit (FPU) Architecture and Instructions
  10. Coprocessors and Privileged Architecture
  11. System-Level Interfaces and Implementation Notes
  12. Appendices: Instruction encodings, opcode tables, and reference material

Languages, Platforms & Tools

MIPS assemblyCMIPS R2000MIPS R3000MIPS R4000MIPS R6000generic MIPS-based embedded SoCsGCC (mips toolchain)GNU as/ldSPIM / MIPS simulatorsMIPSpro / vendor toolchains

How It Compares

Covers similar low-level, MIPS-specific detail to the MIPS Architecture manuals (from MIPS Technologies) and complements Patterson & Hennessy’s 'Computer Organization and Design', which uses MIPS for examples but is broader and more textbook-oriented.

Related Books

Bryant, Randal, O'Hallaron,...