# Program to test the multiply command
	.text
	.globl	main
main:
	move $s1, $ra		# Keep the ra safe (stack is another good place)
	li	$v0,4		# output a prompt
	la	$a0, msg1
	syscall
	li	$v0,5		# input  a number
	syscall			# User input is now in $vo
	move $t0, $v0		# Put the input into $t0
	li	$v0,4		# output prompt again
	la	$a0, msg1
	syscall
	li	$v0,5		# input a second number
	syscall			# User input is now in $vo
	mult	$t0, $v0	#

	mflo $s0		# Need to put the product someplace safe
	li	$v0,4		# output a label for results
	la	$a0, msg2
	syscall
	li	$v0,1		# output the answer
	move	$a0, $s0	# Saved answer is an argument to syscall
	syscall
	move $ra, $s1		#
	j $ra			# return
	.data
msg1:	.asciiz	"\nAn integer?  "
msg2:	.asciiz "\nThe product is: "
	.text