datarate equ 5ch
movlw datarate
movwf SPBRG
isit it move the address of datarate(5ch) into SPBRG or move the content of datarate into SPBRG???
another question
i using hyperterminal communicate with PIC16f873..so how to write the programming for it..i got an example but cant understand
outbyte equ 20h
rxdatahi equ 21h
movf outbyte,w
movwf SSPBUF
bsf STATUS,RP0
btfss SSPSTAT,BF
goto $-1
bcf STATUS,RP0
movf SSPBUF,w
mowf rxdatahi
retlw 0
anyone can explain it ???thanks
movlw datarate
movwf SPBRG
isit it move the address of datarate(5ch) into SPBRG or move the content of datarate into SPBRG???
another question
i using hyperterminal communicate with PIC16f873..so how to write the programming for it..i got an example but cant understand
outbyte equ 20h
rxdatahi equ 21h
movf outbyte,w
movwf SSPBUF
bsf STATUS,RP0
btfss SSPSTAT,BF
goto $-1
bcf STATUS,RP0
movf SSPBUF,w
mowf rxdatahi
retlw 0
anyone can explain it ???thanks