#-----------------------
# BranchLastInstruction.s
#   Test case with branch to the first instruction in the program
# Arguments:
#   a0: an integer x
# Return Value:
#   a0: x if x >= 0, 0 otherwise
#-----------------------

BranchLastInstruction:
	bge	a0, zero, target
	sub	a0, a0, a0
target:
	add	a0, a0, zero
