At 05:23 PM 10/01/97 -0800, you wrote: Dave, I am using the PIC12C508 and it would appear to me that you have not set the direction by doing the TRIS instruction anywhere?? I am not familiar with the Parallax assembler and do not know what the MOV instruction is. It is not from Microchip MPASM. Try the TRIS instruction and see how it goes. Good luck, >Help! > I cannot seem to use port GP2 of a PIC12C508/JW as an output. >Here's my test code to verify port output. > > DEVICE PIC12C508, IRC_OSC, WDT_ON, PROTECT_OFF, MCLR_ON > > reset start > org 0 > >start > mov !GPIO, 000000b ; set all of port GP as output > movlw 0 > movwf GPIO > CLRWDT > > movlw 111111b > movwf GPIO > > goto START > > > What I have left out is the delay routine so the LED can flash at a sane >rate. > Connecting the cathode of an LED to each I/O pin, the LED flashes except >when connected to port GP3 (since it is MCLR), but it also doesn't flash on >GP2 and it should! > > I am using Parallax SPASM V 4.7 and SPEP V 4.7 > >Any ideas? The errata sheets doesn't say anything about this! > >Thanks. >Dave > > Peter Grey Neosystems Australia