Pristine Ack-5.5
[Ack-5.5.git] / mach / ns / 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 0.3 1994/06/24 13:09:49 ceriel Exp $"
6
7 /*
8  * NS 16032 tokens
9  */
10
11 %token <y_word> REG
12 %token <y_word> AREG
13 %token <y_word> FREG
14 %token <y_word> MREG
15 %token <y_word> CREG
16 %token <y_word> EXTERNAL
17 %token <y_word> TOS
18 %token <y_word> PC
19 %token <y_word> INDICATOR
20
21 /*
22  * Instruction types
23  */
24 %token <y_word> SETCFG
25 %token <y_word> LPR
26 %token <y_word> LCR
27 %token <y_word> BR
28 %token <y_word> RET
29 %token <y_word> BSR
30 %token <y_word> RDVAL
31 %token <y_word> CATST
32 %token <y_word> LCSR
33 %token <y_word> SEQ
34 %token <y_word> ADJSP
35 %token <y_word> JSR
36 %token <y_word> JUMP
37 %token <y_word> LFSR
38 %token <y_word> ADD_F
39 %token <y_word> CCVIS
40 %token <y_word> CCVSI
41 %token <y_word> CCVSS
42 %token <y_word> CMOV
43 %token <y_word> ADD_I
44 %token <y_word> COM
45 %token <y_word> MUL_I
46 %token <y_word> MOVID
47 %token <y_word> FFS
48 %token <y_word> MOVIF
49 %token <y_word> MOVFL
50 %token <y_word> TRUNC
51 %token <y_word> MOVM
52 %token <y_word> INSS
53 %token <y_word> SAVE
54 %token <y_word> ENTER
55 %token <y_word> LMR
56 %token <y_word> MOVS
57 %token <y_word> CHECK
58 %token <y_word> INS
59 %token <y_word> MOVQ
60 %token <y_word> ACB
61 %token <y_word> WAIT
62
63 %type  <y_word> cpu_opts, cpu_list, string_opts, reg_list, reg_items