#-----------------------
# ForwardBranch.s
#   Test case with a simple forward branch
# Arguments:
#   a0: a positive number
# Return Value:
#   a0: 0 if the number is 6, 1 otherwise.
#-----------------------

ForwardBranch:
        addi	t0, zero, 6
        add	t1, zero, a0
        add	a0, zero, zero
        beq	t0, t1, isSix
        addi	a0, zero, -1
isSix:
	addi 	a0, a0, 1		
