Missed carry flag corrections and the rotate fixes