OLD | NEW |
| (Empty) |
1 /* | |
2 * Copyright (c) 2011 The Native Client Authors. All rights reserved. | |
3 * Use of this source code is governed by a BSD-style license that can be | |
4 * found in the LICENSE file. | |
5 */ | |
6 | |
7 %%{ | |
8 machine one_instruction_x86_64; | |
9 alphtype unsigned char; | |
10 | |
11 # We need to know where DISP, IMM, and REL fields can be found | |
12 action disp8_operand_begin { } | |
13 action disp8_operand_end { } | |
14 action disp32_operand_begin { } | |
15 action disp32_operand_end { } | |
16 action disp64_operand_begin { } | |
17 action disp64_operand_end { } | |
18 | |
19 action imm8_operand_begin { } | |
20 action imm8_operand_end { } | |
21 action imm16_operand_begin { } | |
22 action imm16_operand_end { } | |
23 action imm32_operand_begin { } | |
24 action imm32_operand_end { } | |
25 action imm64_operand_begin { } | |
26 action imm64_operand_end { } | |
27 | |
28 action rel8_operand_begin { } | |
29 action rel8_operand_end { } | |
30 action rel16_operand_begin { } | |
31 action rel16_operand_end { } | |
32 action rel32_operand_begin { } | |
33 action rel32_operand_end { } | |
34 | |
35 include decode_x86_64 "one-valid-instruction-x86_64.rl"; | |
36 | |
37 main := one_instruction; | |
38 | |
39 }%% | |
OLD | NEW |