Hi Dmitry, Dmitry Kiryashov wrote: > ;left cycle shift > > rlf RAM,W > rlf RAM,F > movwf temp_cy > rrf temp_cy,f ;restore carry > > Any ideas how to make second one shorter ? ;-) rlf RAM,w rlf RAM,f movwf STATUS ; ;-) very BAD!!! This is _NOT_ recommended. This is just to give a solution to the problem to restore the carry using 3 cycles. This will affect other flags and bank settings depending on RAM contents. regards, Reggie -- e-mail: rberdin@bigfoot.com ICQ#: 31651436 URL: http://www.bigfoot.com/~rberdin