Randomizing Numbers in Assembly with MASM32
How can I randomize a number using Assembly with Masm32? What can I use to create a random numbers generator? Thank you very much! Get random numbers with MASM32 The MASM32 SDK comes with some examples which implement random generators. It isn't the worst idea to use them for own purposes. The following examples are just examples and lack - among others - in an error handling. The examples generate and produce 30 random numbers in the range [0..11]. A linear congruential generator with a=134775813 and b=c (like Delphi) is in \masm32\examples\exampl03\lcd\lcd.asm . .686 .MODEL flat, STDCALL