See MIPS Run (The Morgan Kaufmann Series in Computer Architecture and Design)
Format: PDF / Kindle (mobi) / ePub
The versatile offspring of an extended family of multiple chip companies, today's MIPS chips are everywhere. They power everything from videogames, network routers, laser printers, set-top boxes, and high-performance workstations. This book brings together this extraordinary proliferation of form and functionality, offering embedded systems programmers and designers unique, eminently practical insights into MIPS. It covers how MIPS started, the principles at the root of the RISC revolution, the full details of the MIPS instruction set, and how these details together constitute a full operating system ready to be put to work in hundreds of ways.
If you're programming embedded systems and need to understand the chips at the deepest level, or even if you're just curious, you're sure to find what you need in this book. It's all here, from the nuts and bolts of a programming reference to the big picture that only a true expert can deliver. So buy the book. Take it home. Step inside. And see MIPS run.
* Written by an independent consultant whose business is understanding MIPS architecture and embedded systems programming.
* Addresses the evolution of MIPS technology, giving you a solid foundation for successful designs and implementations.
* Provides an in-depth, easy-to-use guide to the MIPS instruction set, including special attention to processor control and assembler mnemonics for every instruction.
* Covers everything from MIPS I to MIPS IV, with appendices devoted to the optional MIPS 16 instruction set and V/MDMX.
Now turned their ingenuity to the design of a very low power 32-bit MIPS CPU. It works very well, but their designs were too high-end, and perhaps just a bit late, to break the ARMlock on cellphones. Alchemy pinned its hopes on the market for personal organizers, which certainly needed faster CPUs than the phones did. But the market didn’t boom in the same way. Moreover, the organizer market seemed to be one in which every innovator lost money; and ﬁnally Microsoft’s hot-then-cold support of MIPS.
Only half a pipeline stage; the architecture helps out by keeping the branch decision tests very simple. So MIPS conditional branches test a single register for sign/zero or a pair of registers for equality. 1.5.2 Addressing and Memory Accesses Memory references are always plain register loads and stores: Arithmetic on memory variables upsets the pipeline, so it is not done. Every memory reference has an explicit load or store instruction. The large register ﬁle makes this much less of a.
Register (SR) The MIPS CPU has remarkably few mode bits; those that exist are deﬁned by ﬁelds in the very packed CPU status register SR, as shown in Figure 3.1. These are all the ﬁelds recognized by the MIPS32/64 standards; some of the spare ﬁelds may be used for implementation-dependent purposes. We emphasize again that there are no nontranslated or uncached modes in MIPS CPUs; all translation and caching decisions are made on the basis of the program address. Here are the critical shared ﬁelds;.
Hazard) CP0 register change that disables interrupt => cache line instruction that could still be interrupted (an execution hazard) Most of these are instruction hazards—and where there’s no eret to act as an adequate barrier for these instructions, you should use a jr.hb or jalr.hb. The execution hazards can be cleared with an ehb. 3.4.3 Hazards between CP0 Instructions Any mfc0 instruction is explicitly dependent on the value in a CP0 register, but because all TLB information is staged.
Signiﬁcant niche in embedded systems. Linux has emerged as the most-used OS for embedded MIPS, but there’s still a lot of diversity in the embedded market. The MIPS speciﬁcations have been reorganized around MIPS32 and MIPS64 (which this edition regards as the baseline). This second edition has been in the works for about three years. The MIPS story continues; if it did not, we’d only be writing this book for historians, and Morgan Kaufmann wouldn’t be very interested in publishing it. MIPS.