Hi Orin, > > 0000d2 9f8a BCF 0x8a,0x7,0x1 > > > > 0000d4 478a RLNCF 0x8a,0x1,0x1 > > Ahem, the above clears bit 7 then rotates left with no carry! > > Orin. Good catch!!! You are so right. When I stepped through the code in MPLAB I was looking at the wrong status register bit and missed that. Shows what happens when I rush. Interesting though. The compiler writers chose to use the RLNC by first clearing bit 7 and then letting that rotate into BIT 0. I stuck in assembly code that did the opposite STATUSbits.C = 0; _asm RLCF MorseChar,1,1 _endasm Which in the end did exactly the same thing but left the carry with the msb. Considering how useful that is I wonder why the authors didn't do it that way? Same number of instructions since STATUSbits.C = 0; ==> BCF STATUS,0,0 John Dammeyer > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist