Skip to content

Collection of simple assembly programming examples for the 8051 microcontroller series.

Notifications You must be signed in to change notification settings

Netz00/8051-microcontroller-assembly-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

8051 Microcontroller Assembly Examples

This repository contains a collection of simple assembly programming examples for the 8051 microcontroller series, specifically the AT89S52 model by Atmel.

Knight Rider Effect

Getting Started

To get started, follow the instructions below:

Prerequisites

  1. Install the mcu8051ide development environment.

Setting Up a New Project

  1. Open mcu8051ide.
  2. Navigate to Project -> New.
  3. Enter a project name and select a location for the project.
  4. Select the chip model AT89S52.
  5. Save the newly created project file.

Loading Examples

  1. Copy the code from the desired example file.
  2. Load the corresponding Virtual Hardware configuration from the ./virtual_hw_config directory to simulate the hardware.
  3. Save the code and start the simulator.

Examples

Below is a list of available examples with links to their respective assembly files:

  1. Dead Man's Switch
  2. Print Odd Numbers on Click
  3. Click Counter
  4. Semaphores
  5. Stopwatch
  6. Progress Bar
  7. Running Light
  8. Reaction Timer
  9. Staircase Automatic Lights
  10. Compare the Ones
  11. Knight Rider Effect
  12. More Timers

Notes

  • 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.

About

Collection of simple assembly programming examples for the 8051 microcontroller series.

Topics

Resources

Stars

Watchers

Forks