Mike, that's more like it. I didn't get the random x thing, as I want to use assembly, not C. Thanks, Dave > Well, I don't know what HLL you are using, or how you manage to fit 1024 in > a single byte :0) > > Truly random numbers are not easy to generate, and the topic has been > discussed countless times on the list. If you want some numbers that simply > appear to be random, you can quite easily make a pseudo-random number > generator in a PIC. Take a look at > http://www.piclist.com/techref/microchip/rand8bit.htm for some examples. > > Regards > > Mike > > -- > http://www.piclist.com hint: The PICList is archived three different > ways. See http://www.piclist.com/#archives for details. > > > -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.