Cheers mackrackit.

My project, here's the master plan:

I'm going to use the 12F683 to output 4 bit words to drive a BCD to 7-segment decoder driver: Count up from 0-9 in a continual loop IF the push button is pressed THEN GOTO countdown from 9-0 in a continual loop, IF pressed again count down from 5-0 then stop.

This project covers a lot of the ground we've been over in the last week or two and would give me some much needed practical practice.

Another question: Is this program statement viable / do-able to provide input words into the decoder driver?

i VAR WORD
Main:
For i = 0 to 3 etc
LOOKUP i, [0, 1,2,3], GPIO
NEXT i

Sorry but the code tags didn't work tonight.

This would output from the PIC (I hope):

0000 making the driver display '0'
0001 " " '1'
0010 " " '2'
0011 " " '3'
1000 " " '4'

Also from the output side of the PIC ('words') to the input side of the display driver, I'd like to bleed off a little current to the base of four transistors with LED's in the collector leg to visually see the binary count, just for fun.

So what do we think then guys? Have I learned my lessons well, or am I heading for the books...!

David