----- Original Message ----- From: Thomas Krampe To: Jinx Sent: Saturday, August 26, 2000 3:50 AM Subject: [PIC]: 2xRe: 16C84 RA1 depends on RA2 ? > Jinx wrote: > > > > Have you tried this - > > > > porta equ 05 > > trisa equ 85 > > > > movlw 0x10 > > tris porta (or trisa) > > > > I can't see the rest of your setup, but have you defined the TRIS > > register ? > > Hi Jinx and Co., > > thanks for your help, but also this did not solved my problem. > > Here now my small listing again(modified). > > > include "p16c84.inc" > > start > bcf INTCON, GIE > CLRF PORTA > movlw 0x10 > bsf STATUS, RP0 > movwf TRISA; "Register in operand not in bank 0. Ensure that bank bits are correct." > ; says the compilier to this liene ?! What is wrong here ? > bcf STATUS, RP0 > nop > nop > nop > nop > nop > nop > nop > nop > > m_loop movlw 0x03 > movwf PORTA ; RA0 & RA1 should go to a high level, but RA0 goes ONLY to high, why ? > ; AND THIS IS MY BIG PROBLEM ! :-/ > nop > nop > nop > nop > nop > nop > nop > nop > > goto m_loop > > end; > > .... still locking for cure > > -- > Thomas > -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics