luis wrote: > I=B4ve done like this, but did not work yet. > > movlw 0x70 > movwf FSR0L > > WAIT: > btfss PIR1,RCIF > bra WAIT > > SAVE_BUF: > movf RCREG,W > movwf INDF0 > incf FSR0L,1 ; > > movlw 0x0D > xorwf INDF0,W > btfsc STATUS,Z > bz GET_DATA ; > bra WAIT Come back after you've read the manual. In particular the section called "Indirect Addressing, INDF and the FSR Registers". In my copy of the 18F= xx2 data sheet that's section 4.12 on page 50. It's probably in a different place in different data sheets, but can't be that hard to find if you actually try. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist