Skip to main content
Engineering LibreTexts

2.6: Summary

  • Page ID
    27097
  • The purpose of this chapter was to help the reader understand how to create and run simple programs with I/O in MIPS assembly using the MARS IDE. However even a simple "Hello World" program has complexities when written in assembly language, and this chapter attempted to give at least a casual explanation of these. Covered in this chapter were the following concepts:

    • How to comment a MIPS program.
    • Registers and memory in MIPS computers.
    • Assembler directives such as .text, .data, .asciiz, .space, and .word.
    • Labels in MIPS assembly.
    • MIPS assembly operators, such as li, la, lw, and move.
    • System services for interacting with the user console, in particular services 1, 4, 5, and 8.
    • The difference between references and values of data.
    • Was this article helpful?