summaryrefslogtreecommitdiffstats
path: root/gas/testsuite/gas/i386/x86-64-disp32.s
blob: 08563396a5328ce5434e4a150a4f5b1c813dd228 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
	.text
	mov (%rax),%ebx
	mov 3(%rax),%ebx

	mov.d8 (%rax),%ebx
	mov.d8 3(%rax),%ebx
	mov.d8 0xfff(%rax),%ebx

	mov.d32 (%rax),%ebx
	mov.d32 3(%rax),%ebx

	jmp foo
	jmp.d8 foo
	jmp.d32 foo
foo:

	.intel_syntax noprefix
	mov DWORD PTR [rax], ebx
	mov DWORD PTR [rax+3], ebx
	mov DWORD PTR [rax+0xfff], ebx

	mov.d8 DWORD PTR [rax], ebx
	mov.d8 DWORD PTR [rax+3], ebx

	mov.d32 DWORD PTR [rax], ebx
	mov.d32 DWORD PTR [rax+3], ebx
OpenPOWER on IntegriCloud