0% found this document useful (0 votes)
173 views1 page

COA Assignment 2

The document contains 10 programming assignments in assembly language, including writing programs to compare characters, store and display binary numbers, perform basic math operations, print the date, display strings, read and compare characters, check number positivity using switch statements, restart the computer, and print all ASCII characters.

Uploaded by

pir zada
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)
173 views1 page

COA Assignment 2

The document contains 10 programming assignments in assembly language, including writing programs to compare characters, store and display binary numbers, perform basic math operations, print the date, display strings, read and compare characters, check number positivity using switch statements, restart the computer, and print all ASCII characters.

Uploaded by

pir zada
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/ 1

Subject : COA

Assignment # 02

I. Write a program to compare two characters and display


message accordingly in assembly language

II. Write a program that reads a binary number, stores it in BX and


display it in Assembly language.

III. Write a program that make addition,subtraction, multiplication


and division of two no’s.

IV. Write a program that print system current date.

V. Write a program that displays string

VI. Write a program that reads a character and print only if it is ‘?’.
Using IF Structure.

VII. Write a program that reads two characters , compare them and
prints the smallest character using If-else Structure.

VIII. Write a Program that reads a digit,computes and print ‘P’ if it is


Positive, ‘N’ if it is Negative and ‘Z’ if it is Zero using Switch
Statement.

IX. Write a Program that restart the Computer

X. Write a program that prints all the ASCII characters i.e, 256

You might also like