> 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 >=20 > end --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .