IQAC/NBA/ LAB-INDX/ ACHARYA INSTITUTE OF TECHNOLOGY
2024-25
Bengaluru – 560 107
Department of Electronics and Communication Engineering
Course Title: Microcontroller Lab Course ID: BECL456A
Course Code: Semester: 4 Section: AY:2024-25
Student Name: Batch: USN
Course
Faculty Signature
Total Marks
Sl. Date Description of Experiments
( 30 )
R1 R2 R3
COs 8 14 8
I. Assembly Language Programming Data Transfer Programs
Write an ALP to move a block of n bytes of data from
1 source (20h) to destination (40h) using Internal 1
RAM
Write an ALP to move a block of n bytes of data from
2 1
source (2000h) to destination (2050h) using External
RAM.
Write an ALP To exchange the source block starting
3 1
with address 20h, (Internal RAM) containing N (05)
bytes of data with
4 1
Write an ALP to exchange the source block starting
with address
Arithmetic & Logical Operation Programs:
Write an ALP to add the byte in the RAM at 34h and
5 1
35h, store the result in the register R5 (LSB) and R6
(MSB), using Indirect
Write an ALP to subtract the bytes in Internal RAM
6 1
34h & 35h store the result in register R5 (LSB) & R6
(MSB).
Write an ALP to multiply two 8-bit numbers stored at
7 1
30h and 31h and store16- bit result in 32h and 33h of
Internal RAM.
Write an ALP to perform division operation on 8-bit
8 1
number by 8-bit number.
Write an ALP to separate positive and negative in a
9 1
given array.
Write an ALP to separate even or odd elements in a
10 1
given array.
11 Write an ALP to find Largest & Smallest number 1
from a given array starting from 20h & store it in
Internal Memory location 40h.
Write an ALP to arrange the numbers in Ascending
12 1
& Descending order.
Counter Operation Programs:
Write an ALP for Decimal UP-Counter.
13 1
Write an ALP for Decimal DOWN-Counter.
14 1
Write an ALP for Hexadecimal UP-Counter.
15 1
Write an ALP for Hexadecimal DOWN-Counter.
16 1
II. C Programming
Write an 8051 C program to find the sum of first 10
17 Integer Numbers. 1
18 Write an 8051 C program to find Factorial of a given 1
number.
Write an 8051 C program to find the Square of a
19 number (1 to 10) using Look-Up Table. 1
Write an 8051 C program to count the number of
20 Ones and Zeros in two consecutive memory 1
locations.
III. Hardware Interfacing Programs
Write an 8051 C Program to rotate stepper motor in
21 2
Clock & Anti- Clockwise direction.
Write an 8051 C program to Generate Sine &
22 2
Square waveforms using DAC interface.
Average Marks Obtained (Scaled down to 30 )
Laboratory IA (100) 15 70 15 / 100
Laboratory IA Marks ( Scaled down to 20 ) / 20
Total of Marks obtained (Exp (30) + Test (20) )
CIE Marks (IA): / 50
Course Coordinators Name: Signature:
CO-1: Write and execute 8051 Microcontroller-based R1: write ALP/C programs
programs for various applications using Assembly i)With errors(1M), ii)With minimum errors(1-2M),
Language & C Programming. L3 iii)Without errors(3 M )
R2: Simulate/ Demonstrate using tool/Kit and verify
CO-2: Interface microcontroller with external hardware the results i)with support(1-2M),ii)but unable to
such as DAC, Stepper Motor. L3 verify output(3 M ) iii)satisfactorily(4-5 M)
R3: Interpret the concepts and results - orally and
written i)poorly(1M),ii)Moderately(2 M),
iii)Effectively(3 M)