Program To Copy A String in Reverse Order in Assembly Language Using Visual Studio PDF
Program To Copy A String in Reverse Order in Assembly Language Using Visual Studio PDF
Program to Copy a String in Reverse Order in Assembly Language using Visual Studio
Programming Tutorials
SUBSCRIBE
Chapter 3
Problem # 7:
Solution:
.386
.model flat,stdcall
.stack 4096
.data
source BYTE "This is the source string",0
.code
main PROC
mov esi,0
mov eax, 0
mov al,source[esi]
mov target[edi],al
inc esi
dec edi
loop L1
INVOKE ExitProcess,0
main ENDP
END main
Let me know in the comment sec on if you have any ques on.
Previous Post:
Program to Reverse an Array in Assembly Language using Visual Studio
Next Post:
Studio
http://csprogrammingtutorial.blogspot.com/2018/02/program-copy-string-in-reverse-order-in-assembly.html 2/4