Commit 856313cd authored by Noémie Fong's avatar Noémie Fong
Browse files

Add test for strings

parent c17b71e4
.text
main:
la $a0, hello
li $v0, 1
syscall
la $a0, world
li $v0, 1
syscall
la $a0, hello
li $v0, 1
syscall
la $a0, hello
addi $a0, 8
li $v0, 1
syscall
end:
li $v0, 10
syscall
.data
hello: .asciiz "Hello"
world: .asciiz "World\n"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment