File tree Expand file tree Collapse file tree 3 files changed +38
-0
lines changed Expand file tree Collapse file tree 3 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ bits 64
2+
3+ mov eax , 1
4+ mov eax ,- 1
5+ mov eax , 0x11111111
6+ mov ecx , 2
7+ add ecx ,- 6
8+ add ecx , strict dword - 6
9+ add ecx , 4
10+ add ecx , strict dword 4
11+ add ecx , 10000
12+ xor ecx , 0xffffffff
13+ xor ecx , dword 0xffffffff
14+ xor ecx , strict dword 0xffffffff
15+ xor ecx ,- 1
16+ xor ecx , dword - 1
17+ xor ecx , strict dword - 1
18+ add edx , byte ($ - $$)
19+
20+ mov rax , 0xfafafafaafafafaf
21+
22+ %ifnidn __OUTPUT_FORMAT__ , bin
23+ extern foo , bar
24+ add eax , byte foo
25+ add edx , byte (bar - $$)
26+ %endif
Original file line number Diff line number Diff line change 1+ [
2+ {
3+ "description" : " Test immediates" ,
4+ "id" : " imm" ,
5+ "format" : " elf64" ,
6+ "source" : " imm.asm" ,
7+ "option" : " -Ox" ,
8+ "target" : [
9+ { "output" : " imm.o" }
10+ ]
11+ }
12+ ]
You can’t perform that action at this time.
0 commit comments