The eax and ebx registers contain two 32-bit positive integers, while edx contains a pointer to the 1st element of an array of such numbers. How for the smallest amount of instructions to exchange the values of [edx + eax * 4] and [edx + ebx * 4] arrays?
Available commands intel x86, Windows .