GitHub_collection_hello-world/a/Assembler MIPS.asm
Richie Bendall dad1ce8fa0
Meta tweaks
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
2021-02-17 17:39:48 +13:00

10 lines
317 B
NASM

.data
hw: .asciiz "Hello, World!"
.text
main:
la $a0, hw #load the address of hw into $a0
li $v0, 4 #load 4 into $v0
syscall #perform the print_string syscall
li $v0, 10 #load 10 into $v0
syscall #perform the exit syscall