Learn to display text to the screen in Assembly language. Make your first program in MIPS Assembly language easily!
Note: If you are using the SPIM simulator, the basic code template is a bit different. Therefore, you need to follow the basic code template provided below when using SPIM (instead of Mars):
.data
# Data declarations go in this section.
Note: If you are using the SPIM simulator, the basic code template is a bit different. Therefore, you need to follow the basic code template provided below when using SPIM (instead of Mars):
.data
# Data declarations go in this section.
.text
.globl main
.ent main
main:
# your program code goes here.
# Done, terminate program.
li $v0, 10
syscall
.end main