Question: Copy a string in reverse order. Write a program with a loop and indirect addressing that copies a string from source to target, reversing the

Copy a string in reverse order. Write a program with a loop and indirect addressing that copies a string from source to target, reversing the character order in the process.

Use the following variables:

source BYTE "This is the source string", 0

target BYTE SIZEOF source DUP ('#')

Also count the number of words in the string. You must display the reversed string and the number of words!

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 Databases Questions!