Quantcast
Channel: x86 Assembly - Programmers Heaven
Viewing all articles
Browse latest Browse all 152

Generating Random Numbers

$
0
0
First of all let me congratulate for this awesome site. It's been a really helpful source for me.

Now, the problem I'm having is that I need to make a sudoku game with assembly on the intel 8086, and I need a way to make random numbers to initialize the board... I was told that using the interruption 1Ah,00 which is used to read system clock counter, such a thing is possible but I need to use DIV to arrange the range of dx between 0 - 9.

If anyone can give me a hand with this I would appreciate it, if you know a better way it would be awesome.

Thank you for your time.

Viewing all articles
Browse latest Browse all 152

Trending Articles