Scott Dattalo wrote: > swapf mem1,w > movwf mem2 > andlf 0xf0 > xorwf mem2,f > movwf mem3 Nice, Scott. -Andy P.S. That "andlf" should be an "andlw", no? === Andrew Warren - fastfwd@ix.netcom.com === Fast Forward Engineering - San Diego, California === http://www.geocities.com/SiliconValley/2499