Write the LC-3 assembly language program to find the minimum lowercase character that you type in. Test only with characters: a..z
Description in Java, with a bit of pseudo-code:
{ char min = 'z'; char input;
do
{ input = read_a_lowercase_character_using_LC-3's_OS_function_IN;
if (input < min) min = input;
} while (input != 'z');
System.out.print ("\nThe minimum char is:" + min);
input = Capitalize_the_min_using_the_bit-wise_AND_with_a_bit_mask;
System.out.print ("\nThe capitalized char is:" + input);
}
---------------
; Start with this source file:
; INCLUDE a header with your name, assignment #, etc.
.ORIG x4400
MAIN ......your program
....
HALT
; specify any data variables that need to be stored in memory
.END
I will test your program ONLY with characters: a..z
Please submit your program using the online turnin script at http://rosemary.umw.edu/~raz/turnin/turnin.php