Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .data
- input: .asciiz "Input: "
- string1: .asciiz "This is my "
- string2: .asciiz "-th MIPS program."
- .text
- li $v0, 4
- la $a0, input
- syscall
- li $v0, 5
- syscall
- move $t0, $v0
- li $v0, 4
- la $a0, string1
- syscall
- li $v0, 1
- move $a0,$t0
- syscall
- li $v0, 4
- la $a0, string2
- syscall
- li $v0, 10
- syscall
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement