def build( name ):
	location = locate( "%s.asm" % name )
	if location:
		input = os.path.normpath( os.path.join( location, name ) )
		output = os.path.normpath( os.path.join( "./bin/", name ) )
		p = Popen( ["nasm", "-f bin", "-O3", "-o %s.bin" % output, "%s.asm" % input ] )
		p.wait()
		xmit( name )
	else:
		print "[-] Unable to locate '%s.asm' in the src directory" % name

#=============================================================================#
dataset/ETHPy150Open secretsquirrel/the-backdoor-factory/asm/build.py/build/original