.data # Data section
message: .asciiz "Hello, World!\n" # Define a null-terminated string
.text # Code section
main: # Entry point of the program
li $v0, 4 # Load the syscall code for printing a string (4) into $v0
la $a0, message # Load the address of the message into $a0
syscall # Execute the system call to print the string
li $v0, 10 # Load the syscall code for program exit (10) into $v0
syscall # Execute the system call to exit the program