Pristine Ack-5.5
[Ack-5.5.git] / mach / i386 / as / mach2.c
1 /*
2  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3  * See the copyright notice in the ACK home directory, in the file "Copyright".
4  */
5 #define RCSID2 "$Id: mach2.c,v 1.6 1994/06/24 07:25:20 ceriel Exp $"
6
7 /*
8  * INTEL 80386 tokens
9  */
10
11 %token <y_word> ATOGGLE
12 %token <y_word> OTOGGLE
13 %token <y_word> USE16
14 %token <y_word> USE32
15 %token <y_word> R32
16 %token <y_word> R16
17 %token <y_word> R8
18 %token <y_word> RSEG
19 %token <y_word> RSYSCR
20 %token <y_word> RSYSDR
21 %token <y_word> RSYSTR
22 %token <y_word> PREFIX
23 %token <y_word> ADDOP
24 %token <y_word> ARPLOP
25 %token <y_word> BITTEST
26 %token <y_word> CALFOP
27 %token <y_word> CALLOP
28 %token <y_word> ENTER
29 %token <y_word> EXTEND
30 %token <y_word> EXTOP
31 %token <y_word> EXTOP1
32 %token <y_word> IMUL
33 %token <y_word> IMULB
34 %token <y_word> INCOP
35 %token <y_word> INT
36 %token <y_word> IOOP
37 %token <y_word> JOP
38 %token <y_word> JOP2
39 %token <y_word> LEAOP
40 %token <y_word> LEAOP2
41 %token <y_word> LSHFT
42 %token <y_word> MOV
43 %token <y_word> NOOP_1
44 %token <y_word> NOOP_2
45 %token <y_word> NOTOP
46 %token <y_word> PUSHOP
47 %token <y_word> RET
48 %token <y_word> ROLOP
49 %token <y_word> SETCC
50 %token <y_word> TEST
51 %token <y_word> XCHG
52
53 /* Intel 80[23]87 coprocessor tokens */
54 %token <y_word> FNOOP
55 %token <y_word> FMEM
56 %token <y_word> FMEM_AX
57 %token <y_word> FST_I
58 %token <y_word> FST_ST
59 %token <y_word> FST_ST2
60 %token <y_word> ST
61
62 /* Intel 80486 tokens */
63 %token <y_word> EXTOPBW
64 %token <y_word> BSWAP
65 %type <y_valu> st_i
66 %type <y_valu> reg