Creating Hello World. - TheThirdOne/rars GitHub Wiki

.data str: .asciiz "Hello, World!\n"

.text main: la a0, str # Load address of string into a0 li a7, 4 # Syscall code for print_string ecall # Make the system call

li a7, 10           # Syscall code for exit
ecall