At 05:25 PM 6/25/2004 +0100, you wrote: >Heres something I've been thinking about for a while. > >If you took a 16F627 Pic Microcontroller with 1024 words of memory and 35 >instructions, how many possible programs could be generated for this >microcontroller (working or not). There are 1024 * 14 bits, so 2^(1024 * 14) ~= 3.681440950105214388934181504608e+4315 (ignoring bad opcodes) A rather large number. Even if you could test one program per femtosecond, the universe will be gone before you test even the tiniest percentage of them. The earth itself will last only another 1.5E32 femtoseconds before it is engulfed by the sun. Bset regards, Spehro Pefhany --"it's the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads