Computer Science, asked by leenatchandra1787, 8 months ago

Consider the following 0*86 Program:data array DWORD

Answers

Answered by frozenPearl93
0

reverseLoop:

mov eax, [esi] ;move the element in esi to eax

mov ebx, [edi] ;move the element in edi to ebx

xchg eax, ebx ;exchange the two elements

mov [esi], eax ;move the element in eax, to the address in esi

mov [edi], ebx ;move the element in ebx, to the address in edi

add esi, TYPE array ;increase esi to take the next element in the array (from the left)

Similar questions