Hi, while I4m not sure if this was the original question: My problem was to simply rotate a 8-Bit Value. I came to this solution: rrl FLAG, F ;msb -> carry bcf FLAG, 0 ;to be sure new LSB = 0 ( trash unknown former c arry ) skpnc ;former MSB now in carry bsf FLAG, 0 ;carry was set - so set LSB or for rlf rlf FLAG, F ; lsb -> carry bcf FLAG, 7 ; trash unkown old carry skpnc ; former lsb now in carry bsf FLAG, 7 ; modify MSB according carry comments ? Kind regards Stefan Sczekalla-Waldschmidt ssw@oikossw.de