CPTR-215 Assembly Language Programming HW#11 Due Friday

Finish reading chapter 7; begin reading chapter 8 in the text.

Modify the HW#10 program so that the hello world string is changed to HelLo WOrlD! followed by the zero byte as before. Then, as characters are moved one by one from the CODE area to the DATA area change case, i.e. a lower case character becomes upper case and an upper case character becomes lower case.

Before making code changes, design the change that is required by constructing either an NS diagram or a flow chart that shows how the character will be checked for case and its case changed. If you want to redraw the whole NS or flowchart for the revised program that is ok but what I require is an NS diagram or flow chart that shows how a character is checked and if needed changed. Reference the ASCII table in appendix C of the textbook noting the numeric values assigned to characters and how upper case characters are grouped together and lower case characters are grouped together. It should be possible to find a math operation that transforms one case of character to the other case.

Email me a copy of your source file (.s) file and have a hardcopy to turn in on Friday. Write on your hardcopy (or type your response into the header ) regarding if (or not) your program worked. Recall that the name of the file you turn in should be of the form: HW11_yourname.s



Larry Aamodt PhD, PE
Professor of Engineering and Computer Science
Walla Walla College
Contact:
via email: AamoLa (at) wallawalla.edu
via phone: x2058