On Thu, 27 Sep 2001, Dmitry Kiryashov wrote: > > > > unsigned char x; > > unsigned char y; > > unsigned char z; > > > > > > z = x << y; > > > > > > swapf x,w > > andlw 0xf0 > > btfss y,2 > > movf x,w > > > > movwf z > > btfss y,0 > > addwf z,f > > > > rlf z,w > > andlw 0xfe > > addwf z,w > > btfsc y,1 > > addwf x,f > > I think not x but z is suggested in last operation. You're right, of course. > Anyway number 12 is still looking magical doesn't it ? ;) Mystical! Scott -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body