Save 40% on books and eBooks + 70% on videos now through May 31*—use code PROGRAM. Shop now.
Allows students to learn how to write the fundamental assembly language code to implement the classical I/O algorithms; enables students to gain experience writing assembly language interrupt response routines, at the heart of any operating system.
Enables students to practice what they have learned.
Provides students with the most up-to-date and easily understandable material.
Gives students a handy quick-reference for all fundamental programming information; can serve as a handbook in the future.
First impressions are important.
To introduce your Assembly Language programming students to the fundamental concepts of contemporary computer architecture, start with a Reduced Instruction Set Computer (RISC).
When students first encounter computer architecture, they need to begin with the basics of modern computer organization. The MIPS architecture embodies the fundamental design principles of all contemporary RISC architectures:
MIPS Assembly Language Programming offers students 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 students progress through the text, they will elaborate on this established datapath diagram model, allowing them to visualize how the instructions are fetched and executed as they write their programs.
The Spim simulator for the MIPS architecture runs on PC's 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 change as their programs execute. The students are not isolated by a particular operating system from experiencing and writing code dealing with:
It is assumed that students using this text already have some experience in developing algorithms, and running programs in a high-level language. The skills they will learn with MIPS Assembly Language Programming offer a sound basis for advanced work in computer architectures and complex assembly languages.
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.
Appendix A: Quick Reference.
Appendix B: ASCII Codes.
Appendix C: Integer Instruction Set.
Appendix D: Macro Instructions.
Appendix E: A Modified Trap Handler.
Appendix F: Floating-Point Instruction Set.