How to generate a random number in 8086 assembly?

后端 未结 3 980
误落风尘
误落风尘 2021-01-15 23:01

I want to know if there a routine or an instruction to generate a random number using assembly on 8086. any help will be appreciated.

3条回答
  •  失恋的感觉
    2021-01-15 23:32

    You might be interested in Agner Fog's pseudo random number generators (some of which are written in assembly) here.

提交回复
热议问题