	# sample MIPS32 assembly program
	#
	# CSCI 221 F20
	#
	# This computes the product of two input integers.
	#

	.globl main
	.text

main:
	li      $v0,5 
	syscall        
	move    $t1,$v0

	li      $v0,5 
	syscall        
	move    $t2,$v0

multiply:
	li      $t0,0

multiply_loop:
	beqz    $t2,report
	add     $t0,$t0,$t1
	addi    $t2,$t2,-1
	b       multiply_loop

report:
	li      $v0, 1
	move    $a0, $t0
	syscall                 

	li      $v0, 0        
	jr      $ra  
