Does anybody know how to generate random number using 8051?
"my MCU is out of code memory" Would simply using the time be sufficently "random" for your purpose? Is there some external event/signal that would give you an essentially random number? eg, the time a user presses some button (any button - doesn't have to be a "generate random number" button), or the instantaneous value of some analogue signal, or some unrelated count, or...