Files
hello-world/m/mips.s
2018-08-22 01:37:32 -03:00

10 lines
250 B
ArmAsm
Executable File

.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