Purpose of Code
This is a short program to practice assembly language loops and if/else statements. You will use various jump commands and the cmp instruction.
The program will generate a random number in the range 0-9 using the Randomize and RandomRange functions and the user will try and guess the number generated. The numbers entered are in base 10.
You should use ReadDec to read a decimal number from the keyboard (the user's guess). ReadDec stores the number read into the eax register.
This program must can be run in Visual Studio 2008 Professional edition.