UMBC CMSC211

Project 6 Due: 15 May

Requirements Specfication

Write a C program that will ask the user to enter a message of some length. The length must be long enough for the user to enter a full line of text. Then pass the message to a function named ConvertMessage, which has the prototype of:

void ConvertMessage( char message[], int size );

The function will convert every uppercase letter in the message to a lowercase version, and will convert the uppercase letters to lower case. The entire body of the function is to be written in assembly language. Remember that Visual C++ assumes that the model is bigger than small and that the processor is at least a 80486, with extended registers. return to C and return to main( ). In main( ), print out the converted message.

Only convert letters, do not convert any other symbol!

Sample Output

(Blue letters are from the program and red letters are user input.) Use the following comment block at the beginning of your source code:
Enter a one-line message:
THIS IS A test for CMSC211 this is A TEST FOR cmsc211

Program Header Comment Block

Use the following comment block at the beginning of your source code:
;; Filename:       proj6.c
;; Name:           Ima Student
;; SSAN:           6789  
;; Date:           3 Feb 2001
;; Course:         CMSC-211 
;; Description:    (Your psuedocode goes here.  Must be detailed)
;; Notes:          (As needed, such has how to compile)


UMBC CMSC211