summaryrefslogtreecommitdiffstats
path: root/gas/testsuite/gas/i386/x86-64-movbe.s
blob: 5857ef701f2cefd3caa2cb3eb717a271efef8a6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Check 64bit movbe
	.text
foo:
	movbe	(%r9),%r13w
	movbe	(%r9),%r13d
	movbe	(%r9),%r13
	movbe	%r13w,(%r9)
	movbe	%r13d,(%r9)
	movbe	%r13,(%r9)
	movbew	(%r9),%r13w
	movbel	(%r9),%r13d
	movbeq	(%r9),%r13
	movbew	%r13w,(%r9)
	movbel	%r13d,(%r9)
	movbeq	%r13,(%r9)

	.intel_syntax noprefix
	movbe bx, word ptr [rcx]
	movbe ebx, dword ptr [rcx]
	movbe rbx, qword ptr [rcx]
	movbe word ptr [rcx], bx
	movbe dword ptr [rcx], ebx
	movbe qword ptr [rcx], rbx
OpenPOWER on IntegriCloud