Hi, WF AUTOMACAO wrote: > loop > incf contador,f > > movlw contador You are putting the location of 'contador' to W not the value of 'contador'. So this line should be: movf contador,w > movwf PORTB > > goto loop > > END regards, Reggie -- e-mail: rberdin@bigfoot.com ICQ#: 31651436 URL: http://www.bigfoot.com/~rberdin