Program To Reverse An Array in Assembly Language Using Visual Studio PDF
Program To Reverse An Array in Assembly Language Using Visual Studio PDF
Programming Tutorials
SUBSCRIBE
Chapter 3
Problem # 6:
Solution:
.386
.model flat,stdcall
.stack 4096
ExitProcess PROTO, dwExitCode:DWORD
.data
decimalArray DWORD 1,2,3,4,5,6,7,8
.code
main PROC
http://csprogrammingtutorial.blogspot.com/2017/12/Reverse-an-Array-using-loop.html 1/5
12/9/2018 6. Program to Reverse an Array in Assembly Language using Visual Studio
L2:
MOV EAX, [ESI]
DEC ECX
LOOP L2
INVOKE ExitProcess,0
main ENDP
END main
OR
.386
.model flat,stdcall
.stack 4096
.data
main PROC
http://csprogrammingtutorial.blogspot.com/2017/12/Reverse-an-Array-using-loop.html 2/5
12/9/2018 6. Program to Reverse an Array in Assembly Language using Visual Studio
DEC ECX
LOOP L2
INVOKE ExitProcess,0
main ENDP
END main
Let me know in the comment sec on if you have any ques on.
Previous Post:
Fibonacci Numbers
Next Post:
Studio
http://csprogrammingtutorial.blogspot.com/2017/12/Reverse-an-Array-using-loop.html 3/5
12/9/2018 6. Program to Reverse an Array in Assembly Language using Visual Studio
Programming Tutorials
SUBSCRIBE
Popular Posts
http://csprogrammingtutorial.blogspot.com/2017/12/Reverse-an-Array-using-loop.html 4/5
12/9/2018 6. Program to Reverse an Array in Assembly Language using Visual Studio
Programming Tutorials
SUBSCRIBE
Powered by Blogger
http://csprogrammingtutorial.blogspot.com/2017/12/Reverse-an-Array-using-loop.html 5/5