This repository contains a collection of simple assembly programming examples for the 8051 microcontroller series, specifically the AT89S52 model by Atmel.
Knight Rider Effect
To get started, follow the instructions below:
- Install the mcu8051ide development environment.
- Open
mcu8051ide
. - Navigate to
Project -> New
. - Enter a project name and select a location for the project.
- Select the chip model
AT89S52
. - Save the newly created project file.
- Copy the code from the desired example file.
- Load the corresponding Virtual Hardware configuration from the
./virtual_hw_config
directory to simulate the hardware. - Save the code and start the simulator.
Below is a list of available examples with links to their respective assembly files:
- Dead Man's Switch
- Print Odd Numbers on Click
- Click Counter
- Semaphores
- Stopwatch
- Progress Bar
- Running Light
- Reaction Timer
- Staircase Automatic Lights
- Compare the Ones
- Knight Rider Effect
- More Timers
- These examples were created in March 2019 as part of the high school subject Computer Hardware Equipment and may not follow best practices. However, they remain useful for anyone looking for simple examples to learn and practice assembly programming.