Hello All, I am porting some 16f84 code to a shiny, new 16f877 in the new IDE i got for my birthday. I am having trouble getting porta to work as digital I/O. Here is the snip: list p=16F877 __CONFIG _CP_OFF & _WDT_OFF & _RC_OSC ;&_LVE_OFF<--hates this include "P16F877.INC" beep_pin equ 3 ;----------------------------------------- nop ;for use by ide ORG 0 ;Reset Vector ORG 4 ;Interrupt bsf STATUS,RP0 clrf PORTC ;portc set output movlw b'00000001' movwf PORTA movlw B'00000110';.6--magic number movwf ADCON1 ;??? ;TURN OFF ADC bcf STATUS,RP0 CLRF PORTA movlw b'00001000' movwf porta ;no beep here The watch window shows that adcon1 is set as instructed, and the porta pins set as instructed, but there is no voltage on the led when i run the program on the chip under debug, and it does not detect the input on porta,0. im confused. Can anyone see where i fell off the bus? thanks, alice