author Dominic Sweetman, published Morgan Kaufmann, ISBN 1-55860-410-3.
This is intended as a pretty comprehensive guide to programming MIPS, wherever it's different from programming any other 32-bit CPU. It's the first time anyone tried to write a readable and comprehensive explanation and account of the wide range of MIPS CPUs available, and should be very helpful for anyone programming MIPS who isn't insulated by someone else's operating system. And the author is a free-unix enthusiast who subscribes to the Linux/MIPS mailing list!
John Hennessey, father of the MIPS architecture, was kind enough to write in the foreword: “ ... this book is the best combination of completeness and readability of any book on the MIPS architecture ...”
It includes some context about RISC CPUs, a description of the architecture and instruction set including the "co-processor 0" instructions used for CPU control; sections on caches, exceptions, memory management and floating point. There's a detailed assembly language guide, some stuff about porting, and some fairly heavy-duty software examples.
Available from:
and from good bookshops anywhere. It's 512 pages and costs around $50 in the US, £39.95 in the UK.
I'd be inclined to list two other books too, both from Morgan Kaufmann and available from www.mkp.com or any good bookshop:
authors Farquhar and Bunce, published by Morgan Kaufmann, ISBN 1-55860-297-6.
A readable introduction to the practice of programming MIPS at the low level, by the author of PMON. Strengths: lots of examples; weakness: leaves out some big pieces of the architecture (such as memory management, floating point and advanced caches) because they didn't feature in the LSI “embedded” products this book was meant to partner.
authors Hennessy & Patterson, published Morgan Kaufmann, ISBN 1-58860-329-8.
The bible of modern computer architecture and a must-read if you want to understand what makes programs run slow or fast. Is it about MIPS? Well, it's mostly about something very like MIPS... Its sole defect is its size and weight - but unlike most big books it's worth every page.