Added cmp inst in last case