1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
BITS 16 section .text foo: bound ax, [edi] bound eax, [edi] bswap edx cmpxchg8b [edx+ecx] enter 1000, 100 xchg ax, bx xchg bx, ax xchg eax, ebx xchg ebx, eax xchg al, ah xchg [ebx], ah xchg cx, bx xchg [ecx], bx xchg ecx, ebx xchg [ecx], ebx xchg al, [edi] xchg ax, [edi] xchg eax, [edi]