Clean up Assembly files (#1003)

This commit is contained in:
MrBrain295
2021-05-08 09:57:36 -05:00
committed by GitHub
parent 45856bf57b
commit 7f7369291b
20 changed files with 174 additions and 196 deletions

View File

@@ -2,8 +2,8 @@
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
la $a0, hw
li $v0, 4
syscall
li $v0, 10
syscall