Which just goes to show, you really need to learn the personality of your C compiler (especially for resource limited MCU's like the PIC) and how it makes code from your source. The listing file is your best friend! On a side note (shameless plug follows)... Not many people have said much on the PIC list over the past few years about ByteCraft's MPC compiler. It's been the PIC C compiler of choice for my professional work for many years now. It's always generated very good code and the support from Walter and his crew is tremendous. If only most software companies had the same kind of service and support, we'd all be a whole lot happier. (End of shameless plug -- no, I don't work for ByteCraft or have any affiliations with them. I buy my C compilers at retail just like everyone else.) Matt Pobursky Maximum Performance Systems On Tue, 4 Jun 2002 13:05:47 -0400, Walter Banks wrote: >John Dammeyer wrote: >> >>>From the Bytecraft C >> >>08D9 1003 BCF STATUS,C i = i*2+1; >> >>MPC "C" COMPILER V1.40 24-Jul-2000 >>PAGE 89 >> >>08DA 0D4D RLF 4D,W >>08DB 00FE MOVWF 7E >>08DC 0A7E INCF 7E,W >>08DD 00CD MOVWF 4D >> >> >MPC "C" COMPILER B1.96s 31-May-2002 > >001F 1403 BSF STATUS,C c = (2 * c) + 1; >0020 0DB5 RLF 35 > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body