Program For Copying A Word Array To A DoubleWord Array in Assembly Langauge Using Visual Studio PDF
Program For Copying A Word Array To A DoubleWord Array in Assembly Langauge Using Visual Studio PDF
Program for Copying a Word Array to a DoubleWord array in Assembly Langauge using Visual Studio
Programming Tutorials
SUBSCRIBE
Chapter 4
Problem # 4:
Write a program that uses a loop to copy all the elements from an
unsigned Word (16-bit) array into an unsigned doubleword (32-bit)
array.
Solution:
.386
.model flat,stdcall
.stack 4096
.data
main PROC
http://csprogrammingtutorial.blogspot.com/2017/12/Copying-a-Word-Array-to-a-DoubleWord-array.html 1/3
12/9/2018 4. Program for Copying a Word Array to a DoubleWord array in Assembly Langauge using Visual Studio
L1:
Programming Tutorials
MOV EAX,0
SUBSCRIBE
MOV AX,[ESI]
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:
Next Post:
Fibonacci Numbers
http://csprogrammingtutorial.blogspot.com/2017/12/Copying-a-Word-Array-to-a-DoubleWord-array.html 2/3