Greetings, did you select the correct bank ? good luck, ckchan Markus Falkenau wrote: > How can I clear the TRIS(A..E) registers of a 16F877 in MPLAB v4.12.00 ? I > already tried it with: > "clrf TRISA" and with > "movlw h'0' movwf TRISA". > These opcodes work perfectly with all kind of variables but not with the > TRIS(A...E) registers. -- "Think of all the time you spend clicking aimlessly or fruitlessly around the Web. At the Hunger Site, one click actually accomplishes something: It sends a serving of food to a starving person, at no cost to you..." http://www.thehungersite.com