Question: Write a procedure named Str _ Concat that concatenates a source string to the end of a target string. Pass pointers to the Proc that
Write a procedure named StrConcat that concatenates a source string to the end of a target string. Pass pointers to the Proc that include the source and target strings. Use the data and call below in your program to concatenate the strings below to form one string : I Love Assembly! Use the Irvine library procedure WriteString to display the resulting target string to the console.
data
targetStr BYTE "I", DUP
sourceStr BYTE Love",
sourceStr BYTE Assembly!",
code
INVOKE Strconcat, ADDR targetStr, ADDR sourceStr
INVOKE Strconcat, ADDR targetStr, ADDR sourceStr
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
