summaryrefslogtreecommitdiff
path: root/test/imm.asm
blob: 6b24c88067fbc121c4e7ad7281f466e9d361e8f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
	bits 64

	mov eax,1
	mov eax,-1
	mov eax,0x11111111
	mov ecx,2
	add ecx,-6
	add ecx,strict dword -6
	add ecx,4
	add ecx,strict dword 4
	add ecx,10000
	xor ecx,0xffffffff
	xor ecx,dword 0xffffffff
	xor ecx,strict dword 0xffffffff
	xor ecx,-1
	xor ecx,dword -1
	xor ecx,strict dword -1
	add edx,byte ($-$$)
%ifnidn __OUTPUT_FORMAT__,bin
	extern foo, bar
	add eax,byte foo
	add edx,byte (bar-$$)
%endif