MASM prime number generator