TAV - UQAM
Computer Organization and Assembly Language
Department of Computer Science Assignment #4
Instructor: Fady SAID Date Due: 2 Week.
===================================================================================
Question 1.
Write an MC68000 assembly language program that will input string S and string T.
The program should check whether S and T have the same length or not (by displaying
a message).
Question 2.
Write an MC68000 assembly language program that will input a string S (of more than
2 words) and produce a string T of the same words concatenated (no space between
words). Example: S=’Hello Toto’ , then T=’HelloToto’.
Question 3.
Write an MC68000 assembly language program that will input a string S (sentence of
many words) and print out the number of words found in the string S.
Also, your program should print out the number of vowel letters present in the
sentence S. Recall that vowel letters are elements in the set {a, e, I, o, u}.
(
geocities.com/wonlin)