From a7724e10ac555e322ac5895eb2504118de39d80b Mon Sep 17 00:00:00 2001 From: Thomas Roskewich Date: Wed, 18 Jul 2018 14:52:48 -0600 Subject: [PATCH] Added MIPS --- m/mips.s | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 m/mips.s diff --git a/m/mips.s b/m/mips.s new file mode 100644 index 00000000..79300443 --- /dev/null +++ b/m/mips.s @@ -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