Rikard Bosnjakovic wrote: > When I add a clrf TRISA, its contents gets "cleared" to "00100000" > which is correct, since RA5 can only be input, but when I try to move > 11111000 to it, it gets 00111000. Really it should not happen. I can only think of a banking issue when accessing TRISA. But you already checked it. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist