2075 6

CSC167 ยท 2075 ยท 5 marks

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]

MicroprocessorChapter 4: Assembly Language ProgrammingSimple sequence programs
  • 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 (...