Added asm function invocation from main program. Abadoned idea with generating gifs.