About Me

header ads

Embedded C Basics (21EC481)

Embedded C Basics


Course Code 21EC481 
CIE Marks 50
Teaching Hours/Week (L: T:P: S) 0:0:2:0 
SEE Marks 50
Credits 1 
Exam Hours 3

Experiments

Conduct the following experiments by writing C Program using Keil microvision simulator (any 8051 microcontroller can be chosen as the target).

1 Write a 8051 C program to multiply two 16 bit binary numbers.


2 Write a 8051 C program to find the sum of first 10 integer numbers.


3 Write a 8051 C program to find factorial of a given number.


4 Write a 8051 C program to add an array of 16 bit numbers and store the 32 bit result in internal RAM


5 Write a 8051 C program to find the square of a number (1 to 10) using look-up table.


6 Write a 8051 C program to find the largest/smallest number in an array of 32 numbers


7 Write a 8051 C program to arrange a series of 32 bit numbers in ascending/descending order


8 Write a 8051 C program to count the number of ones and zeros in two consecutive memory locations.


9 Write a 8051 C program to scan a series of 32 bit numbers to find how many are negative.


10 Write a 8051 C program to display “Hello World” message (either in simulation mode or interface an LCD display).


11 Write a 8051 C program to convert the hexadecimal data 0xCFh to decimal and display the digits on ports P0, P1 and P2 (port window in simulator).


Suggested Learning Resources:

“The 8051 Microcontroller: Hardware, Software and Applications”, V Udayashankara and M S Mallikarjuna Swamy, McGraw Hill Education, 1st edition, 2017.


Post a Comment

0 Comments