Can't see that (latch) being the reason, but tried anyway and it still =20 does not work. If I did... movlw B'10101010' movwf PORTC ....instead of... movf PORTA,W movwf PORTC .... it (upper with literal) works. Implying that it's reading from =20 PORTA is the problem. Cheers, -Neil. Quoting IVP : >> MainLoop: >> movlw B'00100000' >> movwf PORTA ; LED column on > > movwf LATA > >> movf PORTA,W ; Read all port-A inputs >> movwf PORTC ; Show on LED segments. > > movwf LATC > >> MainLoopDone: >> goto MainLoop >> >> end > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .