subject
Computers and Technology, 22.12.2021 08:40 terry94

The following code reverses myArray. Complete the missing statements. (5 points) .386 .model flat, stdcall .stack 4096 ExitProcess proto, dwExitCode:dword .data myArray DWORD 1,2,3,4,5,6,7,8,9 arraySize DWORD ? .code ;reverseArray procedure/function reverseArray proc ;poping the parameters off of the stack pop edx pop arraySize ;moving parameters into registers mov esi, 0 mov ebx, type myArray mov ecx, arraySize ;loop to store values of array in the stack L1: mov eax, myArray[esi] push eax add esi, ; << Complete statement loop L1 ;moving parameters into registers mov esi,0 mov ecx, arraySize ;loop to pop values of array from stack onto array L2: pop eax mov myArray[esi], eax add esi, ebx loop L2 ;return RET ;end of function reverseArray endp main proc ;pushing parameters onto the stack mov edx, OFFSET myArray push edx mov arraySize, lengthof myArray push arraySize ;calling reverseArray call ; << Complete statement invoke ExitProcess,0 main endp end main

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:30
If joey was single and his taxable income was $9,500, how much would he pay in taxes each year?
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
This graph compares the cost of room and board at educational institutions in texas.
Answers: 1
question
Computers and Technology, 24.06.2019 08:30
Why might you choose to create a functional resume
Answers: 1
question
Computers and Technology, 24.06.2019 15:00
Universal windows platform is designed for which windows 10 version?
Answers: 1
You know the right answer?
The following code reverses myArray. Complete the missing statements. (5 points) .386 .model flat, s...
Questions
question
Mathematics, 01.10.2019 00:30
question
Mathematics, 01.10.2019 00:30
Questions on the website: 13722361