Thư viện Trường Đại học Phú Xuân
Introduction To MIPS Assembly Language Programming

Nguồn ngoài

Introduction To MIPS Assembly Language Programming

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.

Tác giả
Charles W. Kann III
Nhà xuất bản
Gettysburg College
Nguồn
LibreTexts
Giấy phép
CC BY
Ngôn ngữ
EN
Danh mục
Công nghệ thông tin
Mục lục· 80 mục
  1. 01: Introduction
  2. 1.01: Binary Numbers
  3. 1.02: Converting Binary Decimal and Hex Numbers
  4. 1.03: Character Representation
  5. 1.04: Adding Binary Whole Numbers
  6. 1.05: Integer Numbers (2's Complement)
  7. 1.06: Integer Arithmetic
  8. 1.07: Boolean Logical and Bitwise Operators
  9. 1.08: Context
  10. 1.09: Summary
  11. 1.10: Exercises
  12. 02: First Programs in MIPS Assembly
  13. 2.01: The MARS IDE
  14. 2.02: MIPS and Memory
  15. 2.03: First Program in MIPS Assembly
  16. 2.04: Program to Prompt and Read an Integer from a User
  17. 2.05: Program to Prompt and Read a String from a User
  18. 2.06: Summary
  19. 2.07: Java Program for Call by Value and Reference
  20. 2.08: Exercises
  21. 03: MIPS Arithmetic and Logical Operators
  22. 3.01: 3-Address Machines
  23. 3.02: Addition in MIPS Assembly
  24. 3.03: Subtraction in MIPS Assembly
  25. 3.04: Multiplication in MIPS Assembly
  26. 3.05: Division in MIPS Assembly
  27. 3.06: Solving Arithmetic Expressions in MIPS Assembly
  28. 3.07: Division and Accuracy of an Equation
  29. 3.08: Logical Operators
  30. 3.09: Using Logical Operators
  31. 3.10: Shift Operations
  32. 3.11: Summary
  33. 3.12: Exercises
  34. 04: Translating Assembly Language into Machine Code
  35. 4.01: Instruction Formats
  36. 4.02: Machine Code for the Add Instruction
  37. 4.03: Machine Code for the Sub Instruction
  38. 4.04: Machine Code for the Addi Instruction
  39. 4.05: Machine Code for the sll Instruction
  40. 4.06: Exercises
  41. 05: Simple MIPS Subprograms
  42. 5.01: Exit Subprogram
  43. 5.02: PrintNewLine Subprogram
  44. 5.03: The Program Counter (pc) register and calling a subprogram
  45. 5.04: Returning from a Subprogram and the ra Register
  46. 5.05: Input Parameter with PrintString Subprogram
  47. 5.06: Multiple Input Parameters with PrintInt Subprogram
  48. 5.07: Return Values with PromptInt Subprogram
  49. 5.08: Create a utils.asm File
  50. 5.09: Final Program to Prompt, Read, and Print an Integer
  51. 5.10: Summary
  52. 5.11: Exercises
  53. 06: MIPS Memory - the Data Segment
  54. 6.01: Flat Memory Model
  55. 6.02: Static Data
  56. 6.03: Accessing Memory
  57. 6.04: Methods of Accessing Memory
  58. 6.05: Exercises
  59. 07: Assembly Language Program Control Structures
  60. 7.01: Use of Goto Statements
  61. 7.02: Simple If Statements
  62. 7.03: if-else Statements
  63. 7.04: if-elseif-else Statements
  64. 7.05: Loops
  65. 7.06: Nested Code Blocks
  66. 7.07: A Full Assembly Language Program
  67. 7.08: How to Calculate Branch Amounts in Machine Code
  68. 7.09: Exercises
  69. 08: Reentrant Subprograms
  70. 8.01: Stacks
  71. 8.02: The Program Stack
  72. 8.03: Recursion
  73. 8.04: Exercises
  74. 09: Arrays
  75. 9.01: Heap Dynamic Memory
  76. 9.02: Array Definition and Creation in Assembly
  77. 9.03: Printing an Array
  78. 9.04: Bubble Sort
  79. 9.05: Summary
  80. 9.06: Exercises