>>So, whats the proper way to define the ports directions. >> port_a equ 0x5 > >> movlw 0x0F >> tris port_a > >>I haven't had any problems, it it just says its not recommene >>ded. The mid-range parts do away with the TRIS command and make the data direction registers addressable like any other. These parts will still support the TRIS command but Microchip recommends not using it because future parts may not. John Magrane Bell Industries 408 734-8570