Feeling rather pleased with myself this afternoon.

I looked at the diode array diagram in my PICkit1 and the program mackrackit had written for me to run D0 - D1 - D2 in sequence and thought I'd like to add D3. So after much head scratching (believe me) I can up with this:

ANSEL = %00000000
CMCON0 = %00000111

START:
'D0 HIGH
TRISIO = %11001111
GPIO = %00010000
PAUSE 500
'D1 HIGH
TRISIO = %11001111
GPIO = %00100000
PAUSE 500
'D2 HIGH
TRISIO = %11101011
GPIO = %00010000
PAUSE 500
'D3 HIGH
TRISIO = %11101011
GPIO = %00000100
PAUSE 500
GOTO START

The D3 bits mine:-) So I compiled it, no errors and whoosh: D0-D1-D2-D3 chugging along in a nice line and not a hint of burning smoke anywhere.

I know it's only a small step, but still really pleased. I'm going to read and try to fully understand the GPIO / TRISIO port register relationship over the weekend. Still much to learn but Rome wasn't built and all that....!

Dave