Update compare.asm

Newest version of Kai's code