added asm that finds a maximum of a set of values and exit with the result