Or, on the 18-series : Cross-wiring two ports gives a 4 cycle solution: movff REG,PORTB ; two cycles movff PORTC,REG ; two cycles Same code space, same # of cycles, but just two instruction... Jan-Erik. Michael Rigby-Jones wrote: > Cross-wiring two ports gives a 4 cycle solution: > > movf REG,w ; one cycle > movwf PORTB ; one cycle > movf PORTC,w ; one cycle > movwf REG ; one cycle -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu