23
VARIOUS ASSEMBLY PROGRAMS ALONG WITH THERE OUTPUTS AND THE STATUS OF FLAG

ASSEMBLY LANGUAGE PROGRAMS ALNG WITH THERE OUTPUTS

Embed Size (px)

DESCRIPTION

IT IS A VERY IMPORTANT DOCUMENT FOR THE STUDENTS OF ELECTRICAL ENGINEERING. THIS DOCUMENT PROVIDES A WELL UNDERSTANDING TO THE ASSEMBLY LANGUAGE. POTENTIALLY IT IS A COMPREHENSIVE DOCUMENT FOR PREPARING A SOLUTION MANUAL OF THE STUDENTS OF 4TH SEMESTER. I RECOMEND THIS DOCUMENT TO THE STUDENTS FOR PREPARING SOLUTION MANUAL BEFORE MID.

Citation preview

LAB MANUAL

VARIOUS ASSEMBLY PROGRAMS ALONG WITH THERE OUTPUTS AND THE STATUS OF FLAG

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 3A 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 8A program that displays 256 characters.?

Figure 9

Figure 10

WRITE A PROGRAM THAT READ HEX DIGIT (A TO F) AND DISPLAY ITS DECIMAL NUMBER

Figure 11

Figure 12

Figure 13

WRITE A PROGRAM THAT DISPLAY THE SUM OF FIRST 50 TERMS OF THE SERIES

Figure 14

Figure 15

Figure 16WRITE A PROGRAM THAT DISPLAY ? AND SHOW THE TWO DECIMAL WHOSE SUM IS LESS THAN 10

Figure 17

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

Figure 19

Figure 20A program asking for name

Figure 21

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

Figure 24

Figure 25

Figure 26

Figure 27

2