Thank you very much. I didn't even notice that in there! Just to add to this, using my code, i flashes the 4 LEDS for 1 second. As my LEDs are connected to V+ then, the Pins would have to be LOW for the LEDs to light correctly. So, changing 1 to 0 and 0 to 1 in my PORTA outputs makes the LEDS work correctly but it look weird, so would it be better to leave 1 as high, and connect to LEDs to ground? If i don't change anything it works, but instead of turning LEDs on, the default is all 4 on, and turns 1 off in sequence. -Peter Thanks ----- Original Message ----- From: "Jinx" To: Sent: Friday, November 29, 2002 8:48 PM Subject: Re: [PIC]: First ASM problems > Do you have CONFIG matched to the crystal speed ? > > > __CONFIG _CP_OFF & _XT_OSC > > -- > 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 > -- 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