??? 10/28/09 14:49 Read: times |
#170132 - a very good way to get random numbers Responding to: ???'s previous message |
Roberto Torri said:
How can I extract (sic?) a random number between 1 to 37 in assembler? Thank you. Erik Malund said:
the only thing you can generate with "just code" is pseudo-random True - which is why it's important to know whether "extract" just means "generate", or if there's actually some other generator from which the number needs to be extracted... Erik Malund said:
a very good way to get random numbers is to have a timer free running at highest possible speed and reading it when some external event ... happens. Strictly, that needs to be some asynchronous external event |