Sunteți pe pagina 1din 2

MICROCOMPUTER & INTERFACING

WOLKITE UNIVERSITY
COLLEGE OF ENGINEERING AND TECHNOLOGY
DEPARTMENT OF ELECTRICAL & COMPUTER ENGINEERING
ASSIGNMENT ONE
=================================================
Target Group: 4th year ECE (Computer, Control &Communication stream)

Date: November 22, 2017 Instructor: Destaw .M

Due Date: December 05, 2017 Max Mark: 20 pts.

Course Title: Microcomputer and Interfacing Course Code: ECEg4161


====================================================================
1. Write an ALP program to determine a given string is a palindrome. If 'Yes' output
message "The given string is a palindrome”. If 'No' output the message" No, It is not a
palindrome".
2. Write an ALP program to calculate the Factorial of a give number.
3. Write an ALP program to search for a character in a given string and calculate the
number of occurrences of the character in a given string.
4. Write an ALP program, which converts string to ASCII value and store in array.
5. Write an ALP program to find the sum of two BCD numbers stored in memory.
6. write an ALP program, which will read two decimal numbers, then multiply them
together, and finally print out the result(in decimal).
7. Write an ALP program to convert the ASCII code to its BCD equivalent.
8. Write a program to convert the ASCII code to its BCD equivalent.
9. Write an ALP program in 8086 assembly language to find the volume of sphere using
following formula= (4/ 3)*pi*r3 .
10. Write an ALP program to convert Celsius to Fahrenheit temperature measuring scales.
Using formula: 5/9(Fahrenheit-32).
11. Write an ALP program to interface with LCD.
12. Write an ALP program for finding the largest number in an array of 10 elements.
13. Write an ALP program to calculate the average of three numbers entered by user.

PROGRAMMING WITHOUT INTERFACING IS NOTHING


MICROCOMPUTER & INTERFACING

14. Write an ALP program, which takes the input of 4-digit number, and display the sum of
square of digits as given below.

For example if the Input=4537, the result becomes 42 +52 +32 +72 =16+25+9+49=99

N.B question no.1, 4, 6,9,13 are individual assignment and the remaining questions
should be done with a group of five students and you must run it on emu8086.

PROGRAMMING WITHOUT INTERFACING IS NOTHING

S-ar putea să vă placă și