0% found this document useful (0 votes)
27 views18 pages

MP Lab Manual

This document is a lab manual for a microprocessor subject. It contains 18 programs of increasing complexity that students are asked to write, including programs that read and display characters, convert case, display subsequent letters in the alphabet, sum series, and display symbols based on user input. Each program is accompanied by figures to demonstrate the expected output.

Uploaded by

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

MP Lab Manual

This document is a lab manual for a microprocessor subject. It contains 18 programs of increasing complexity that students are asked to write, including programs that read and display characters, convert case, display subsequent letters in the alphabet, sum series, and display symbols based on user input. Each program is accompanied by figures to demonstrate the expected output.

Uploaded by

ZaraShah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 18

LAB MANUAL

SUBJECT: MICROPROCESSOR
BE 4 SECTION B
SUBMITTED TO: xxxx

SUBMITTED BY:
yyyyyyyyyyy
zzzzzzzzzzzz

(1300800)
(1300000)

A program that will read a character from the keyboard and display
it at the beginning of the next line

Figure 1

Figure 2

Figure 3

A program that prompts the user to enter a lowercase letter, and on


the next line displays another message with the letter in uppercase
(A CASE CONVERSION PROGRAM)

Figure 4

Figure 5

Figure 6

Write a program that prompts the user a enter any alphabet and
display the next fifth alphabet in the next line.

Figure 7

Figure 8

A program that displays 256 characters.?


6

Figure 9

Figure 10

WRITE A PROGRAM THAT READ HEX DIGIT (A TO F) AND


DISPLAY ITS DECIMAL NUMBER
7

Figure 11

Figure 12

Figure 13

WRITE A PROGRAM THAT DISPLAY THE SUM OF FIRST 50


TERMS OF THE SERIES
9

Figure 14

10

Figure 15

Figure 16

11

WRITE A PROGRAM THAT DISPLAY ? AND SHOW THE


TWO DECIMAL WHOSE SUM IS LESS THAN 10

Figure 17

12

Figure 18

Write a program which prompt user enter your name and display
alphabets down the margin.

Figure 19

13

Figure 20

A program asking for name

Figure 21

14

Figure 22

Figure 23

Write a code that prints smiley when A is entered ,a clove when B is


entered and exits program when a is entered
15

Figure 24

16

Figure 25

17

Figure 26

Figure 27

18

You might also like