OLD | NEW |
| (Empty) |
1 @hex: | |
2 # This file tests how we handle a 16-bit direct call. In particular, it tests | |
3 # whether we actually disallow prefix 66 on the direct call. | |
4 # | |
5 # Pad with nops, so that call is bundle aligned. | |
6 90 90 90 90 90 90 90 90 | |
7 90 90 90 90 90 90 90 90 | |
8 90 90 90 90 90 90 90 90 | |
9 90 90 90 90 | |
10 | |
11 # Define 16-bit direct call. | |
12 66 e8 F0 FF | |
13 | |
14 # Padding in case the parser of the previous instruction recognizes | |
15 # the wrong byte length for the jump constant. | |
16 90 90 | |
17 @nval: | |
18 VALIDATOR: 1c: Bad prefix usage | |
19 *** <input> IS UNSAFE *** | |
20 @dis: | |
21 00000000: 90 nop | |
22 00000001: 90 nop | |
23 00000002: 90 nop | |
24 00000003: 90 nop | |
25 00000004: 90 nop | |
26 00000005: 90 nop | |
27 00000006: 90 nop | |
28 00000007: 90 nop | |
29 00000008: 90 nop | |
30 00000009: 90 nop | |
31 0000000a: 90 nop | |
32 0000000b: 90 nop | |
33 0000000c: 90 nop | |
34 0000000d: 90 nop | |
35 0000000e: 90 nop | |
36 0000000f: 90 nop | |
37 00000010: 90 nop | |
38 00000011: 90 nop | |
39 00000012: 90 nop | |
40 00000013: 90 nop | |
41 00000014: 90 nop | |
42 00000015: 90 nop | |
43 00000016: 90 nop | |
44 00000017: 90 nop | |
45 00000018: 90 nop | |
46 00000019: 90 nop | |
47 0000001a: 90 nop | |
48 0000001b: 90 nop | |
49 0000001c: 66 e8 invalid | |
50 0000001e: f0 ff 90 invalid | |
51 00000021: 90 nop | |
52 @vdis: | |
53 0: 90 nop | |
54 1: 90 nop | |
55 2: 90 nop | |
56 3: 90 nop | |
57 4: 90 nop | |
58 5: 90 nop | |
59 6: 90 nop | |
60 7: 90 nop | |
61 8: 90 nop | |
62 9: 90 nop | |
63 a: 90 nop | |
64 b: 90 nop | |
65 c: 90 nop | |
66 d: 90 nop | |
67 e: 90 nop | |
68 f: 90 nop | |
69 10: 90 nop | |
70 11: 90 nop | |
71 12: 90 nop | |
72 13: 90 nop | |
73 14: 90 nop | |
74 15: 90 nop | |
75 16: 90 nop | |
76 17: 90 nop | |
77 18: 90 nop | |
78 19: 90 nop | |
79 1a: 90 nop | |
80 1b: 90 nop | |
81 1c: 66 e8 f0 ff call 0x10 | |
82 20: 90 nop | |
83 21: 90 nop | |
84 @rdfa_output: | |
85 1c: [0] unrecognized instruction | |
86 return code: 1 | |
OLD | NEW |