2078 7

CSC167 · 2078 · 5 marks

Write an assembly language program for 16 bit microprocessor to reverse the string 'This is Microprocessor'

Write an assembly language program for 16 bit microprocessor to reverse the string 'This is Microprocessor' [5]

MicroprocessorChapter 4: Assembly Language ProgrammingSimple sequence programsNumerical: 8086 string reverse program
  • Target processor: 16-bit microprocessor (8086) - String to reverse: This is Microprocessor - Character count: Let me count precisely: - This = 4 - space = 1 - is = 2 - space = 1 - Microprocessor = 14 - Total = 4 + 1 + 2 + 1 + 14 = 22 characters - Number of swaps needed: $22 / 2 = 11$ No data mi...