Electronic dice is an Assembly program written to simulate the behaviour of the dice. It can generate random numbers between 1 and 6. This is designed specifically for 8086 Microprocessor.
- Software Program
- Hardware Program
The software program has two options. One is to roll the dice and another is to stop the simulation. The software program just displays the result on the screen.
The Hardware program uses the 7 segment display to display the result. We need to have this hardware to execute the program. The program displays the result on the seven segment display.
We need to have MASM installed in the System.
First we compile to assembly file,
masm programName.asm
Next we link the object file
link programName.obj
Next we run the .exe file
programName.exe
For executing hardware programs you need to assign permissions and then execute the program similar to software program.
Thank you...