You'll shift in zeros in the LSBits and not have theg correct 'x's there. Bob Ammerman RAm Systems and 40 words is way too much.... ;-) ----- Original Message ----- From: "personal" To: Sent: Friday, July 19, 2002 2:58 PM Subject: Re: [PIC]: Code optimization > how about > > var = 0bxxxxxxAB << (number<<1); > > shift lest, one bit 4 words. > > totall maxmin <40 words, nothing! > > ----- Original Message ----- > From: "Claudio Tagliola" > To: > Sent: Friday, July 19, 2002 5:30 AM > Subject: Re: [PIC]: Code optimization > > > > Small adendum: > > > > Do a loop where you rotate left both variables _twice_ by the count of > > number. > > > > Claudio > > > > -- > > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > > > > > > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body