The transmission register can only hold one byte at a time, and you have to wait for the transmission to complete before sending another byte. You put a byte into TXREG, then you wait until TXIF goes high. TXIF goes high when the transmission buffer is empty, and low when you have to wait. A simple example follows: hello movlw 'H' call send movlw 'e' call send movlw 'l' call send movlw 'l' call send movlw 'o' call send movlw '!' call send ... ... ... send ; Send subroutine. Sends a byte from W, MOVWF TXREG wait ; and returns when byte is sent. BTFSS 0x0C, TXIF GOTO wait return I hope this helps! -Adam paul carns wrote: >I'm working with two 16F876. They have to transmit and >receive in back to back way (continuous way). I've >tried to send one byte, and the receiver PIC receives >it well. But when I increase the number of bytes to be >transimited (for example three), the second PIC >doesn't receive them well. Do you know the reason? >And also I've observed that, in spite of I only call >the transmision routine once, the transmiter PIC never >stops to send the byte. > >Please, I would appreciate your answer a lot,because I >need to run the program. > >Thank very much Tom. > >Paul Carns > > > >__________________________________________________ >Do You Yahoo!? >Everything you'll ever need on one web page >from News and Sport to Email and Music Charts >http://uk.my.yahoo.com > >-- >http://www.piclist.com hint: The PICList is archived three different >ways. See http://www.piclist.com/#archives for details. > > > > > -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.