implement famous algorithm use asm