Problem
Assembly Language - String Instructions
Assume that the codes are to be assembled in Debug (DOS) and all the given numbers are hexadecimal.
a) Formulate a program segment that will replace the first white space character of str1 with '*'. Define a string for str1.
b) Formulate a program segment that will compare 2 strings, str1 and str2. If they are equal, replace all the characters of str1 with '&' and store the modified string in str3. Define the strings for str1 and str2.