Given the following arrays named 'array1' and 'array2¹: array1 DWORD 50h, 51h, 53h, 55h array2 DWORD 40h, 41h, 43h, 45h
Posted: Sun Jul 10, 2022 11:25 am
Given the following arrays named 'array1' and 'array2¹: array1 DWORD 50h, 51h, 53h, 55h array2 DWORD 40h, 41h, 43h, 45h Write instructions to swap the items between array1 and array2 (using only MOV and XCHG instruction), so that the array1 and array2 become: array1: 41h, 40h, 45h, 43h array2: 51h, 50h, 55h, 53h You can use registers to perform the MOV and XCHG operation. Write the code to perform above mentioned transformation.