Steve Lawther wrote: > > Daniel, > > Best I can do of the top of my head is:- > > RLF TEMP, W > IORWF TEMP, F > RLF TEMP, W > IORWF TEMP, F > > OR'ed result in TEMP,5 > Trashes TEMP and W > 4 cycles > > I'm sure somebody can do it better > > Steve Lawther Good idea Steve, but how 'bout: RLF TEMP,W ANDLW ((1<<3) | (1<<4) | (1<<5))<<1 ADDLW 0xf0 RLF RESULT,F Scott