10 lines
249 B
ArmAsm
Raw Normal View History

2018-07-18 14:52:48 -06:00
.data
hello_world: .asciiz "Hello World"
2018-07-18 14:52:48 -06:00
.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