You are on page 1of 4

MICROCONTROLLER BASED SYSTEMS

MTS-310
Lab no:3
Introduction to 8051 Assembly Programming

SUBMITTED BY: SUBMITTED TO:


MUHAMMAD AHMAD LD QASIM
Introduction:
In this lab we were introduced to Keil Labvison and 8051 assembly programming and
ways to implement it on 8051.
Tasks Assigned:
1. Coding in Keil Labview
2. Implementation on Proteus on AT89C41 Micro-controller.
TASK NO 1:
Procedure:
1. Open Keilview on your computer:
2. Write the following Code:

3. Build the code


4. Create a Hex File
5. Build the code again for saving the HEX file
6. Run Proteus
7. Design the following Schematics

8. Run the Simulation which will switch the LEDs ON according to the Binary code entered
at the P1.
TASK NO 2:
Procedure:
1. Open Keil View
2. Run the Given Code

3. Build the code and create a HEX file


4. Run Proteus
5. Design the following Schematics:

You might also like