Question: 1. [5 marks] Write an emu8086 program that uses the INPUT_STRING procedure to read a string from the keyboard. This procedure stores a null-terminated string

1. [5 marks] Write an emu8086 program that uses the INPUT_STRING procedure to read a string from the keyboard. This procedure stores a null-terminated string in a buffer provided by the caller. Your program should display the string in reverse order and the actual length. Use a loop to calculate the actual length of the string in bytes, then print out the length using the PRINT_LENGTH procedure. Here is what the output from your program might look like: Enter a string Sheridan String in reverse order nadirehs String length is 8

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!