Microprocessor20755 marksSimple sequence programs
Write an ALP for 8086 to read a string and display the string in uppercase.
Write an ALP for 8086 to read a string and display the string in uppercase. [5]
- Read characters one by one using INT 21H, AH=01H - Convert lowercase letters (a-z) to uppercase by subtracting 20H (since ASCII difference between lowercase and uppercase is 32 = 20H) - Display each character using INT 21H, AH=02H - Stop reading when Enter key (0DH) is pressed Character ASCII (...