diff --git a/a/assembler_mips.asm b/a/assembler_mips.asm new file mode 100644 index 00000000..42784710 --- /dev/null +++ b/a/assembler_mips.asm @@ -0,0 +1,9 @@ +.data + hw: .asciiz "Hello, World!" +.text +main: + la $a0, hw #load the address of hw into $a0 + li $v0, 4 #load 4 into $v0 + syscall #perform the print_string syscall + li $v0, 10 #load 10 into $v0 + syscall #perform the exit syscall