Added MIPS

This commit is contained in:
Thomas Roskewich
2018-07-18 14:52:48 -06:00
parent 940e99a80d
commit a7724e10ac

9
m/mips.s Normal file
View File

@@ -0,0 +1,9 @@
.data
hello_world: .asciiz "Hello World!"
.text
main:
li $v0, 4 # Load syscommand print_string
la $a0, hello_world # Load hello_world string into register $a0
syscall # Print the string
jr $ra # Return