Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akashjain04/electronic-dice
A simulation of dice with 8086 assembly program.
https://github.com/akashjain04/electronic-dice
8086 assembly electronic electronic-dice hardware masm microprocessor random random-number-generator seven-segment seven-segments-display software
Last synced: 11 days ago
JSON representation
A simulation of dice with 8086 assembly program.
- Host: GitHub
- URL: https://github.com/akashjain04/electronic-dice
- Owner: akashjain04
- Created: 2020-05-31T12:40:22.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-09T05:05:21.000Z (over 4 years ago)
- Last Synced: 2024-11-24T16:26:02.946Z (2 months ago)
- Topics: 8086, assembly, electronic, electronic-dice, hardware, masm, microprocessor, random, random-number-generator, seven-segment, seven-segments-display, software
- Language: Assembly
- Homepage:
- Size: 881 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Electronic Dice
****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.
## We have two types
- Software Program
- Hardware Program### Software 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.#### Output:-
![software Output](https://github.com/akashjain04/Electronic-Dice/blob/master/SoftwareOutput.png?raw=true)### Hardware Program
****
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.#### Output:-
![Hardware Output](https://github.com/akashjain04/Electronic-Dice/blob/master/HardwareOutput.png?raw=true)
## Execution
****
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.