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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started