OLD | NEW |
| (Empty) |
1 # This is a simple test file to see if we have things working. | |
2 # When run in self documenting mode and command free lines, | |
3 # are echoed to the output. | |
4 # | |
5 # Lines with command line options (up to and including the pound sign) are | |
6 # also copied to output. Application (ncdis) is then run on those options, | |
7 # generating corresponding output. It is assume that the text after the | |
8 # pound sign is the output generated by ncdis. Hence, this file is self | |
9 # documenting in the sense that the input matches the output. | |
10 # | |
11 # Note: Useful command line options are: | |
12 # -i=XXXXXXXX | |
13 # Specifies a (even length) hexidecimal value defined the sequence | |
14 # of bytess that defines the instruction to translate. | |
15 # | |
16 # --pc=XXXXXXXX | |
17 # Specifies the value of the program counter, when it is pointing | |
18 # to the instruction to be decoded. In not specified, the program | |
19 # counter is assumed to be zero. | |
20 # | |
21 # Note: This file tests x86-32 instructions when -use_iter is specified. | |
22 | |
23 -i=0000 #00000000: 00 00
add %ds:[%eax], %al | |
24 -i=00c0 #00000000: 00 c0
add %al, %al | |
25 -i=01c0 #00000000: 01 c0
add %eax, %eax | |
26 -i=0318 #00000000: 03 18
add %ebx, %ds:[%eax] | |
27 -i=031d20000000 #00000000: 03 1d 20 00 00 00
add %ebx, 0x20 | |
28 -i=020400 #00000000: 02 04 00
add %al, %ds:[%eax+%eax*1] | |
29 -i=d50a #00000000: d5 0a
aad 0xa | |
30 -i=90 #00000000: 90
nop | |
31 -i=6690 #00000000: 66 90
nop | |
32 -i=8d7600 #00000000: 8d 76 00
lea %esi, %ds:[%esi] | |
33 -i=8d742600 #00000000: 8d 74 26 00
lea %esi, %ds:[%esi+%esp*1] | |
34 -i=8db600000000 #00000000: 8d b6 00 00 00 00
lea %esi, %ds:[%esi] | |
35 -i=8db42600000000 #00000000: 8d b4 26 00 00 00 00
lea %esi, %ds:[%esi+%esp*1] | |
36 -i=89f6 #00000000: 89 f6
mov %esi, %esi | |
37 -i=8dbc2700000000 #00000000: 8d bc 27 00 00 00 00
lea %edi, %ds:[%edi+%esp*1] | |
38 -i=0f1f00 #00000000: 0f 1f 00
nop | |
39 -i=0f1f4000 #00000000: 0f 1f 40 00
nop | |
40 -i=0f1f440000 #00000000: 0f 1f 44 00 00
nop | |
41 -i=660f1f440000 #00000000: 66 0f 1f 44 00 00
nop | |
42 -i=0f1f8000000000 #00000000: 0f 1f 80 00 00 00 00
nop | |
43 -i=0f1f840000000000 #00000000: 0f 1f 84 00 00 00 00 00
nop | |
44 -i=660f1f840000000000 #00000000: 66 0f 1f 84 00 00 00 00 00
nop | |
45 -i=662e0f1f840000000000 #00000000: 66 2e 0f 1f 84 00 00 00 00 0
0 nop | |
46 -i=66662e0f1f840000000000 #00000000: 66 66 2e 0f 1f 84 00 00 00 0
0 00 nop | |
47 -i=6666662e0f1f840000000000 #00000000: 66 66 66 2e 0f 1f 84 00 00 0
0 00 00 nop | |
48 -i=666666662e0f1f840000000000 #00000000: 66 66 66 66 2e 0f 1f 84 00 0
0 00 00 00 nop | |
49 -i=66666666662e0f1f840000000000 #00000000: 66 66 66 66 66 2e 0f 1f 84 0
0 00 00 00 00 nop | |
50 -i=6666666666662e0f1f840000000000 #00000000: 66 66 66 66 66 66 2e 0f 1f 8
4 00 00 00 00 00 nop | |
51 -i=e300 #00000000: e3 00
jecxz 0x2 | |
52 -i=67e300 #00000000: 67 e3 00
jcxz 0x3 | |
53 -i=0f16d1 #00000000: 0f 16 d1
movlhps %xmm2, %xmm1 | |
54 -i=0f16a500000000 #00000000: 0f 16 a5 00 00 00 00
movhps %xmm4, %ss:[%ebp] | |
55 -i=0facc110 #00000000: 0f ac c1 10
shrd %ecx, %eax, 0x10 | |
56 -i=0fad45bc #00000000: 0f ad 45 bc
shrd %ss:[%ebp-0x44], %eax, %cl | |
OLD | NEW |