On Sunday 09 February 2003 01:50 am, you wrote: > ; ------------------- > ; RECEIVE FROM DS1620 > ; ------------------- > ; > receiveDS > movlw 8 > movwf count > bsf STATUS,RP0 ;register page 1 > bsf DQ ; Set data for input. > bcf STATUS,RP0 ;register page 0 > receiveloop > bcf CLK > rlf tempw rlf tempw, F > btfsc DQ > bsf tempw, 0 Shouldn't this be "bsf tempw, F" > btfss DQ > bcf tempw, 0 Same here "bcf tempw, F" > bsf CLK > decfsz count > goto receiveloop > movf tempw, w > return michael -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body