	.data
a:	.word 0xa
b:	.word 17
c:	.word -1
m:	.asciiz "El número es: "
enter:  .asciiz "\n"

	.text
	lw $t0, a
	lw $t1, b
	add $t2, $t0, $t1
	sw $t2, c
	
	li $t0, 0
	li $t1, 10
	
ciclo:
	beq $t0, $t1, final
	
	# imprime el string
	li $v0, 4
	la $a0, m
	syscall
	
	# imprime la suma
	li $v0, 1
	move $a0, $t2
	syscall

	# imprime el enter
	li $v0, 4
	la $a0, enter
	syscall
	
	addi $t0, $t0, 1
	j ciclo

final:

	# exit
	addi $v0, $zero, 10 # servicio 10
	syscall

	
 
