Merge pull request #476 from Pocable/master

Added MIPS
This commit is contained in:
Mike Donaghy 2018-07-23 04:12:59 -05:00 committed by GitHub
commit 53cc0429bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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