Question: Use the following code as a starting point Finish the code below so the procedure strcpy copies a string from one buffer into another using
Use the following code as a starting point
Finish the code below so the procedure strcpy copies a string from one buffer into another using indirect addressing
INCLUDE Irvineinc
INCLUDE macros.inc
data
Sbuf BYTE "The night is dark and full of terrors",
Dbuf BYTE LENGTHOF DUP
code
main PROC
mov ecx, LENGTHOF Sbuf
mov esi,
mov edi, Dbuf
call strcpy
exit
main ENDP
strcpy USES
L:
mov al
mov al
inc esi
inc edi
loop L
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
