Embedded System Lab Assignment 2
Embedded System Lab Assignment 2
OBJECTIVES
To enable us to write assembly language code for the 8051/8052 microcontroller capable of:
Equipment Required
1. Simulation Software: KEIL, Vision-Embedded development tool, Proteus Design Suite – Professional PCB layout,
circuit design and simulation tool.
2. In-System Programming (ISP) Software: ProgISP – An in-system-programmable tool to load HEX files in to micro-
controller.
Theory
1. Write a code to design a single digit decimal counter that counts up from 0 to 9 and back from 9 to 0. This process
should repeat indefinitely.
2. Write a code to design a double digit decimal counter that counts up from 00 to 20 and back to 00 indefinitely.
3. Write a code to display the first (N) numbers of the Fibonacci sequence, where the number (N) must be stored in
a memory location and can be any integer from 1 to 10. The sequence should repeat indefinitely.
4. Write a code to generate the multiplication table of a number (N) stored in a memory location which can be any
integer from 1 to 10. Repeat the sequence indefinitely.
5. Write a code to display your roll number in static format. Roll number should be of four characters. Display of
student roll numbers should repeat indefinitely.
6. Write a code to display the roll numbers of your lab group members in scrolling format, separated by using
decimal point. Roll numbers should be scrolled towards the left and is repeated indefinitely.