i think i got the one of using the rotate instruction and then counting the carry flag,but am a bit confused by the one of using the AND mask