Answer from cs61c-ee (Michael Shen 15963205) for Question 4
loop:	la $t0, 0xffff0000
	lw $t1, 0($t0)
	beqz $t1, loop	# restart the loop if not ready
	la $t2, 0xffff0004
	lbu $t2, 0($t2)
	move $v0, $t1
	sw $0, 0($t0)	#resets the ready bit to 0
