fixed some more registers and wrote cmp