luis wrote : > I=B4ve done like this, but did not work yet. What is *supposed* to happen ??? And what *does* happen ? There is not a single comment in the code, so it's not easy to tell what *your* intention with the code was. Anyway, search the datasheet for POSTINC. That will save you an instruction, even if it will not make it "work", whatever that is... :-) Jan-Erik. >=20 > movlw 0x70 > movwf FSR0L >=20 > WAIT: > btfss PIR1,RCIF > bra WAIT >=20 > SAVE_BUF: > movf RCREG,W > movwf INDF0 > incf FSR0L,1 ; >=20 > movlw 0x0D > xorwf INDF0,W > btfsc STATUS,Z > bz GET_DATA ; > bra WAIT >=20 > Best Ragards >=20 > Luis F. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist