- Given The Following Arrays Named Array1 And Array2 Array1 Dword 50h 51h 53h 55h Array2 Dword 40h 41h 43h 45h 1 (23.18 KiB) Viewed 47 times
Given the following arrays named 'array1' and 'array2¹: array1 DWORD 50h, 51h, 53h, 55h array2 DWORD 40h, 41h, 43h, 45h
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Given the following arrays named 'array1' and 'array2¹: array1 DWORD 50h, 51h, 53h, 55h array2 DWORD 40h, 41h, 43h, 45h
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.