summaryrefslogtreecommitdiff
path: root/test-suite/standalone/sassy/tests/misc116.asm
blob: 4e201ee1e79c8c49b87c37df0b8f467f4ec3eb8c (plain)
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]