Re: PIC power on problem
I have just remebered that 12f675 has an analog converter, or comparator.
In that case, along with the TRISIO, you also need to set values for teh ANSEL register. Unfortunetly by default, on startup, this pins are analog, so your led would not be controlled by a digital pin.
So I would say:
bsf STATUS, RP0
call 3FFh
movwf OSCCAL
movlw B'00111000'
movwf TRISIO
clrf ANSEL ************
movlw B'00000100'
movwf OPTION_REG
bcf STATUS, RP0
Added after 7 minutes:
Almost forgot, there is also a comparator module, that makes those pins analog at startup, son you also need to set them digital with
movlw B'00000111'
movwf CMCON
Good luck!!!