Introduction To MIPS Assembly Language Programming

简介:
本书旨在向学生介绍MIPS中的汇编语言编程。与所有汇编语言编程文本一样,它涵盖了基本运算符和指令,子程序调用,加载和存储存储器,程序控制以及汇编语言程序到机器代码的转换。然而,这本书并不是简单地作为汇编语言编程的书而写的。本文的更大目的是展示如何在汇编中表示高级语言 (HLL) (如Java或C/C) 中的概念。通过展示如何将这些HLL的程序结构映射到汇编中,当程序员用Java或C/C等语言实现程序时,这些概念将更容易理解和使用。涵盖了诸如引用和变量,寄存器,二进制和布尔运算,子程序执行,内存类型 (堆,堆栈和静态) 以及数组处理等概念,以阐明实现HLL时做出的决定。使用伪代码中的结构化程序的映射来呈现程序控制,以帮助学生理解结构化编程及其存在的原因。程序集中的内存访问是为了高度了解引用 (指针) 和值之间的差异,以及这些如何影响HLL。本书有大量的代码示例,每章末尾都有许多问题,它适用于汇编语言中的类,或者作为计算机组织中的类的额外资源。
英文简介:
This book was written to introduce students to assembly language programming in MIPS. As with all assembly language programming texts, it covers basic operators and instructions, subprogram calling, loading and storing memory, program control, and the conversion of the assembly language program into machine code.
However this book was not written simply as a book on assembly language programming. The larger purpose of this text is to show how concepts in Higher Level Languages (HLL), such as Java or C/C++, are represented in assembly. By showing how program constructs from these HLL map into assembly, the concepts will be easier to understand and use when the programmer implements programs in languages like Java or C/C++.
Concepts such as references and variables, registers, binary and Boolean operations, subprogram execution, memory types (heap, stack, and static), and array processing are covered to clarify the decisions made when implementing HLL. Program control is presented using a mapping from structured programs in pseudo code to help students understand structured programming, and why it exists. Memory access in assembly is presented to high light the difference between references (pointers) and values, and how these impact HLL.
This book has numerous code examples, and many problems at the end of each chapter, and it is appropriate for a class in Assembly Language, or as a extra resource for a class in Computer Organization.
- 书名
- Introduction To MIPS Assembly Language Programming
- 译名
- MIPS 汇编语言编程简介
- 语言
- 英语
- 年份
- 2015
- 页数
- 180页
- 大小
- 4.63 MB
- 标签
- 汇编
- 下载
Introduction To MIPS Assembly Language Programming.pdf
- 密码
- 65536
最后更新:2025-04-12 23:57:56