Ok, my decoder code has a bug, it ignores the length of the received vector. It should 'search for the start bit' before decoding, E.g. 0001abcd, 00001abc, 000001ab, 0000001a with a..d bits encoding dit or dah. Then this snippet of code should be added to the decoder: rrf Morse,f search_start: rlf Morse,f btfss Morse,4 goto search_start and the tested bit would be Morse,3 with stop condition Morse,7 == 1 Peter P. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist