Chapter 9 Reading MIPS Assembly Language
This chapter aims to help you read MIPS assembly code—specifically, that written for the MIPS version of the GNU as assembly program, since this is by far the most widely used assembler for MIPS these days.
Since this is just an introduction, we’ll be working here with common 32-bit MIPS instructions that have been part of the ISA for many years, dating all the way back to MIPS I and MIPS II.
This chapter won’t teach you how to write assembly code—that could easily fill another book, all by itself. The vast majority of readers will likely do all their programming in C, and will only occasionally run into an existing assembly file that they need to understand and perhaps modify in a small way; if your ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access