#============================================================= # helloWorld.s # - You know the drill... #============================================================= .data # Data declarations go here aString: .asciiz "Hello World!\n" .text # The section where your code lives .globl main main: la $a0, aString # Load string address into a0 addi $v0, $zero, 4 # Load syscall code into v0 for "print string" syscall # OS pseudo-code to print li $v0,10 # Syscall for exit syscall