thanks guys....but i have tried to insert pause as you told me but still nothing...i moved the output line to the relay at porta.5 abd it seems to work now...but now, my portb is no longer holding values, it clears itself everytime i write on it...but when i comment out the line that writes on porta.5, it works perfectly..any clue???
still cant compile when i insert the asm lines, even when using capitals letters...