anonymous

4 years ago

how to write a code for generating random no in assembly of 8051

8051??? Is that a processor architecture? See linear congruential formulae (See Donald Knuth, The Art of Computer Programming, Volume 3, Section 3.2.1.) -- this isn't trivial. Depending on the architecture the chip MAY have a random circuit.