Question 1130776: 1. Write an Assembly Program using the Emu8086 that will
a. input a string of Upper case letters from the keyboard
b. store the string in memory
c. then display the equivalent Lower case letters.
(Example: inputting ABC, outputting abc)
2. Modify your program above so that the input string can contain a combination of both lower and
upper case letters and the output will be the string in reverse case.
(Example: inputting AbCD, outputting aBcd)
3. Modify your program above so that the input string can contain both lower and upper case letters
and any other character and the output will be the reverse case string, as well as in reverse
order where all other characters (other than alphabetical) are replaced by the hash sign (‘*’).
(Example: inputting Ab,CDe%*F, outputting f**Edc*Ba)
4. Modify your program (above) so that the output will implement the following alphabet
conversion:
Original A B C D E
=>
… … … … X Y Z
Converted D E F G H A B C
where the alphabets are shifted 3 letters down.
(Example: Inputting Ab,CDe%*F, outputting: i**Hgf*Ed
Answer by solver91311(24713) (Show Source):
| |
|