Remember, the ultimate goal is to make EAX equal to zero when returning from this routine. You can accomplish this at the end of the routine, or for a more elegant solution, why not just do it at the beginning of the routine?