PDRUNEN@AOL.COM wrote: > If MEM1 = $32 then MEM2 gets $03 and MEM3 gets $20 for $0320 > if MEM1 + $14 then MEM2 gets $01 and MEM3 gets $40 for $0140 > > I am basically multiplying by 16 (decimal), I see several ways myself > but would like to see what the group can come up with. Paul: SWAPF MEM1,W ANDLW B'00001111' MOVWF MEM2 SWAPF MEM1,W ANDLW B'11110000' MOVWF MEM3 -Andy === Andrew Warren - fastfwd@ix.netcom.com === Fast Forward Engineering - San Diego, California === http://www.geocities.com/SiliconValley/2499