Question: Please code in 32bit x86 assembly language Write a procedure named Str_Concat that concatenates a source string to the end of a target string. Pass

Please code in 32bit x86 assembly language

Write a procedure named Str_Concat 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",16 DUP(0)

sourceStr1 BYTE " Love",0

sourceStr2 BYTE " Assembly!",0

.code

INVOKE Str_concat, ADDR targetStr, ADDR sourceStr1

INVOKE Str_concat, ADDR targetStr, ADDR sourceStr2

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!