Disassembly (I had checked the .lst file) is correct. My pickit2 is =20 not supported for debugging this chip from MPLAB, but that might've =20 been helpful. Cheers, -Neil. Quoting Electron : > > Have you checked the disassembly? Maybe a compiler bug? > > > At 22.50 2011.10.24, you wrote: >>> 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 > > -- > 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 .