summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/i386/inval-seg.s
blob: b23d87de33e6fc07bf419a48e91f9268f4e04127 (plain)
1
2
3
4
5
6
7
8
9
10
	.text
# All the following should be illegal
	movl	%ds,(%eax)
	movl	(%eax),%ds

	.intel_syntax noprefix
	mov	eax, DWORD PTR fs:foobar:16
	mov	eax, DWORD PTR fs:foobar:barfoo:16
	mov	eax, DWORD PTR fs:ds:16
	mov	eax, DWORD PTR fs:ds:cs:16