0% found this document useful (0 votes)
0 views

microprocessor_lab_manual

The document outlines a series of assembly language programming problems focused on string manipulation, counting, sorting, and mathematical calculations. It includes tasks such as case conversion, string reversal, searching for capital letters, counting vowels and consonants, and determining even/odd and prime numbers. Each problem requires formatted input and output messages in the program.

Uploaded by

Imran Hossen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
0 views

microprocessor_lab_manual

The document outlines a series of assembly language programming problems focused on string manipulation, counting, sorting, and mathematical calculations. It includes tasks such as case conversion, string reversal, searching for capital letters, counting vowels and consonants, and determining even/odd and prime numbers. Each problem requires formatted input and output messages in the program.

Uploaded by

Imran Hossen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 2
1 al Year 2nd Semes b Experiment List v Examination-2021 essor and Assembly Lan, Course: C8 3232-Micropr String Processi Title: Case Conversion and Str 1g Reversal Problem Outline: Description of the Problems: a - } Write an assembly language program to implement a ease conversion Program that will read a Sine (Tine of characters of letters, digits, punctuation symbols, and others) as input and then convert the letters into its opposite case as output, Here, the characters which are not belonged to letters will remain be unchanged. Your program must contain necessary messases for formatted input and output _—_| (6) | Write an assembly language program to implement a siring reversal program that will read a | |_| Sting (@ line of characters of letters, digits, punctuation symbols, and others) as input and | then make the reverse form of the string as output. You have to solve this problem in two Ways such as (i) using array (i) using stack. Your program must contain necessary messages for formatted input and output, Title: String Searching Problems. Outline: Description of the Problems: 2. | (a) | Write an assembly language program to implement @ searching program that will read a string (2 Tine of leters of English alphabet) as input and then find out the first capital leter which is | occurred first and last capital letter which is occurred last in the alphabetical order as output. Your program will display a message with “No Capitals” when there is no capital letter in the String. Your program must contain necessary messages for formatted input and output. (©) | Write an assembly language program fo implement a searching program that will read @ sting | (@ word of letters of English alphabet either all in uppercase or all in lowercase but not both) as input and then find out the longest sequence of letters in the word in alphabetical order. | Your program must contain necessary messages for formatted input and output | (©) | Write an assembly language program to implement a searching program that will read two ] strings (two words of letters of English alphabet either all in uppercases ot all in lowercases | but not both) as input and then determine whether a string is a substring of another string or | not. Your program must contain necessary messages for formatted input and output. | 4 Title: Counting and Sorting Problems, Outline: Description of the Problems: 3. | (@ | Write an assembly language program to implement a Counting program that will read a string (a line of characters of letters, digits, punctuation symbols, and others) as input and then count the number of Vowels, Consonants, Digits, and Spaces in the string as output. Your program must contain neeessary messages for formatted input and output (©) | Write an assembly language program to implement a sorting program that will ead'a siting (@ word of letters of English alphabet either all in uppercase or all in lowercase but not both) as input and then sort the letters in the word in alphabetically i) ascending order (i) descending order. Yout program must contain necessary messages for formatted input and output. =) mber Proc | Tite: Series Summation and Factorial Cal | Outline: Deseription of the Problen (a) | Write an assemb! n Problems, Language program to implement a series summation program that will re | [a number N of single decimal digit (fiom 1 to 3) as input and then calcul value of the series 1 + 2+ = |_| formatted input and output b) | Write an assembly language program to implement a factor | MIRE Prog IP | read a number N of single d late the summation +N, Your program must contain necessary messages for [calculation program that will | imal digit (from 0 to 3) as input and then determine the factorial | value of N. Your program must contain necessary messages for formatted input and output Even-Odd and Pi —__| ine: Deseription of the Problems: te an assembly language program to implement an even-odd testing program that will read | @ number N of single decimal digit (from 0 to 9) as input and then determine whether N is an ¥en number or an odd number. Your program must contain necessary messages for formatted | input and output, (©) | Write an assembly language program to implement a prime number testing program that will | read a number N of single decimal digit (from 0 to 9) as input and then determine whether N iS prime number or not. Your program must contain necessary messages for formatted input and output. 01 @|w et | | Title: Largest number and Sorting Problems. Outline: Description of the Problem: | Waite an assembly Tanguage program to implement a largest number finding program that will | feadl an array of numbers of single decimal digits (from 0 to 9) as input and thes find out the | largest number among all the numbers as output. Your program must cont necessary (b) ; 0 to 9) as input and th a ascending order (ji) descending order as i" aa

You might also like