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