Handle CMP instructions similarly to branching