I know nothing about these 17C776 chips... can someone help Pete? Please reply directly or at least CC him. --- James Newton, Admin #3 mailto:jamesnewton@piclist.com 1-619-652-0593 VM 1-208-279-8767 FAX PIC/PICList FAQ: http://www.piclist.com or .org -----Original Message----- From: pete [mailto:petefa@thefreeinternet.co.uk] Sent: Monday, July 23, 2001 10:57 To: jamesnewton@www.piclist.com Subject: Referral This email was delivered to you by The Free Internet, a Business Online Group company. http://www.thefreeinternet.net I+need+someone+to+help+me+with:++ mplab (lastest version) and a pic 17c776. conditions portj, set at output(to allow change in mplab!) code movlb 8 ;select reg bank 8 bsf portj,RJ0 ;set bit hi movpf portj,w ;to read portj into a temp reg movlb 0 ;select reg bank 0 movlw temp4 ; move w reg to temp 4 reg ........... problems found setting RJ0 hi is ok moving portj to w, clears both portj and the wreg !! so moving 00h to temp4 this seems to only occur on porth and portj even though I have set the reg banks up any help wanted please pete -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.