Well, Since Walter posted his latest MPC compiler version I thought I'd take a try using Microchip's MCC18. I stepped through it with the MPLAB simulator. Appears to work. John Dammeyer SendMorseCharA: 0000d0 0100 MOVLB 0x0 MorseChar <<= 1; 0000d2 9f8a BCF 0x8a,0x7,0x1 0000d4 478a RLNCF 0x8a,0x1,0x1 0000d6 a4d8 BTFSS 0xd8,0x2,0x0 if (STATUSbits.Z == 1) return; 0000d8 d002 BRA 0xde 0000da d007 BRA 0xea 0000dc d006 BRA 0xea else { 0000de a0d8 BTFSS 0xd8,0x0,0x0 if (STATUSbits.C == 0) 0000e0 dff5 RCALL 0xcc DoDah(); 0000e2 b0d8 BTFSC 0xd8,0x0,0x0 if (STATUSbits.C == 1) 0000e4 dff2 RCALL 0xca DoDit(); 0000e6 dff3 RCALL 0xce InterCharDelay(); 0000e8 d7f3 BRA 0xd0 goto SendMorseCharA ; } 0000ea 0012 RETURN 0x0 } Automation Artisans Inc. http://www.autoartisans.com Ph. 1 250 544 4950 -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist