> Here are some parts of my code: Hi Jens, I don't see any bank switching in that code eg what I'd expect banksel PORTA ; porta I/O in bank0 movlw B'00000000' ; PORTA values movwf PORTA banksel TRISA ; porta DDR in bank1 movlw B'00111111' ; PORTA directions movwf TRISA etc -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist