JAL has a library called random3, Which can generate Pseudo Random Bytes. If you have a look at the code, Translating it to assembly could be easy. Jeethu Rao > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Ron Anthony > Sent: Sunday, August 19, 2001 9:07 AM > To: PICLIST@MITVMA.MIT.EDU > Subject: [PIC]: Pseudo-Random numbers > > > Hello all. I need to generate numbers that appear to be > ranomized, it makes > no difference if they are truly random. I can seed it with a value culled > from ram before i wipe the ram, but it's not necessary. > > Any simple code to generate a seemingly random number, from 0 to 255? > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads