#  A VERY simple Assembly Program using SPIM
# The data segment where variables are held for variables X and Y
	.data    
X:	.word 1
Y:	.word 4
# The data segment where programs are stored.  Note that "main" is required 
	.text              
main:	lw $t0, X
	lw $t1, Y
	addu $a0, $t0, $t1 
#  Put a 1 in Register $v0 and make system call to print an integer
	li $v0, 1
	syscall
#  Put a 10 in Register $v0 and make system call to exit the program
	li $v0, 10
	syscall
	

