Pristine Ack-5.5
[Ack-5.5.git] / mach / pdp / as / mach3.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 RCSID3 "$Id: mach3.c,v 1.5 1994/06/24 13:11:19 ceriel Exp $"
6
7 /*,
8  * PDP 11 keywords,
9  */
10 0,              REG,            00,             "r0",
11 0,              REG,            01,             "r1",
12 0,              REG,            02,             "r2",
13 0,              REG,            03,             "r3",
14 0,              REG,            04,             "r4",
15 0,              REG,            05,             "r5",
16 0,              REG,            06,             "r6",
17 0,              REG,            06,             "sp",
18 0,              REG,            07,             "r7",
19 0,              REG,            07,             "pc",
20 0,              FREG,           00,             "fr0",
21 0,              FREG,           01,             "fr1",
22 0,              FREG,           02,             "fr2",
23 0,              FREG,           03,             "fr3",
24 0,              FRSP,           04,             "fr4",
25 0,              FRSP,           05,             "fr5",
26 0,              OP_SO,          05000,          "clr",
27 0,              OP_SO,          0105000,        "clrb",
28 0,              OP_SO,          05100,          "com",
29 0,              OP_SO,          0105100,        "comb",
30 0,              OP_SO,          005200,         "inc",
31 0,              OP_SO,          0105200,        "incb",
32 0,              OP_SO,          005300,         "dec",
33 0,              OP_SO,          0105300,        "decb",
34 0,              OP_SO,          005400,         "neg",
35 0,              OP_SO,          0105400,        "negb",
36 0,              OP_SO,          005700,         "tst",
37 0,              OP_SO,          0105700,        "tstb",
38 0,              OP_SO,          006200,         "asr",
39 0,              OP_SO,          0106200,        "asrb",
40 0,              OP_SO,          006300,         "asl",
41 0,              OP_SO,          0106300,        "aslb",
42 0,              OP_SO,          006000,         "ror",
43 0,              OP_SO,          0106000,        "rorb",
44 0,              OP_SO,          006100,         "rol",
45 0,              OP_SO,          0106100,        "rolb",
46 0,              OP_SO,          000300,         "swab",
47 0,              OP_SO,          005500,         "adc",
48 0,              OP_SO,          0105500,        "adcb",
49 0,              OP_SO,          005600,         "sbc",
50 0,              OP_SO,          0105600,        "sbcb",
51 0,              OP_SO,          006700,         "sxt",
52 0,              OP_DO,          010000,         "mov",
53 0,              OP_DO,          0110000,        "movb",
54 0,              OP_DO,          020000,         "cmp",
55 0,              OP_DO,          0120000,        "cmpb",
56 0,              OP_DO,          060000,         "add",
57 0,              OP_DO,          0160000,        "sub",
58 0,              OP_DO,          030000,         "bit",
59 0,              OP_DO,          0130000,        "bitb",
60 0,              OP_DO,          040000,         "bic",
61 0,              OP_DO,          0140000,        "bicb",
62 0,              OP_DO,          050000,         "bis",
63 0,              OP_DO,          0150000,        "bisb",
64 0,              OP_R_SO,        074000,         "xor",
65 0,              JMP,            0100,           "jmp",
66 0,              BR,             0400,           "br",
67 0,              BR,             01000,          "bne",
68 0,              BR,             01400,          "beq",
69 0,              BR,             0100000,        "bpl",
70 0,              BR,             0100400,        "bmi",
71 0,              BR,             0102000,        "bvc",
72 0,              BR,             0102400,        "bvs",
73 0,              BR,             0103000,        "bcc",
74 0,              BR,             0103400,        "bcs",
75 0,              BR,             002000,         "bge",
76 0,              BR,             002400,         "blt",
77 0,              BR,             003000,         "bgt",
78 0,              BR,             003400,         "ble",
79 0,              BR,             0101000,        "bhi",
80 0,              BR,             0101400,        "blos",
81 0,              BR,             0103000,        "bhis",
82 0,              BR,             0103400,        "blo",
83 0,              EJMP,           0400,           "jbr",
84 0,              EJMP,           01000,          "jne",
85 0,              EJMP,           01400,          "jeq",
86 0,              EJMP,           0100000,        "jpl",
87 0,              EJMP,           0100400,        "jmi",
88 0,              EJMP,           0102000,        "jvc",
89 0,              EJMP,           0102400,        "jvs",
90 0,              EJMP,           0103000,        "jcc",
91 0,              EJMP,           0103400,        "jcs",
92 0,              EJMP,           02000,          "jge",
93 0,              EJMP,           02400,          "jlt",
94 0,              EJMP,           03000,          "jgt",
95 0,              EJMP,           03400,          "jle",
96 0,              EJMP,           0101000,        "jhi",
97 0,              EJMP,           0101400,        "jlos",
98 0,              EJMP,           0103000,        "jhis",
99 0,              EJMP,           0103400,        "jlo",
100 0,              JSR,            004000,         "jsr",
101 0,              RTS,            000200,         "rts",
102 0,              MARK,           006400,         "mark",
103 0,              SOB,            077000,         "sob",
104 0,              SPL,            0230,           "spl",
105 0,              TRAP,           0104000,        "emt",
106 0,              TRAP,           0104400,        "trap",
107 0,              TRAP,           0104400,        "sys",
108 0,              OP_NO,          03,             "bpt",
109 0,              OP_NO,          04,             "iot",
110 0,              OP_NO,          02,             "rti",
111 0,              OP_NO,          06,             "rtt",
112 0,              OP_NO,          0,              "halt",
113 0,              OP_NO,          01,             "wait",
114 0,              OP_NO,          05,             "reset",
115 0,              OP_NO,          0170000,        "cfcc",
116 0,              OP_NO,          0170002,        "seti",
117 0,              OP_NO,          0170012,        "setl",
118 0,              OP_NO,          0170001,        "setf",
119 0,              OP_NO,          0170011,        "setd",
120 0,              CLEARCC,        0241,           "clc",
121 0,              CLEARCC,        0242,           "clv",
122 0,              CLEARCC,        0244,           "clz",
123 0,              CLEARCC,        0250,           "cln",
124 0,              SETCC,          0261,           "sec",
125 0,              SETCC,          0262,           "sev",
126 0,              SETCC,          0264,           "sez",
127 0,              SETCC,          0270,           "sen",
128 0,              OP_SO_R,        070000,         "mul",
129 0,              OP_SO_R,        071000,         "div",
130 0,              OP_SO_R,        072000,         "ash",
131 0,              OP_SO_R,        073000,         "ashc",
132 0,              MFP,            006500,         "mfpi",
133 0,              MFP,            0106500,        "mfpd",
134 0,              MFP,            006600,         "mtpi",
135 0,              MFP,            0106600,        "mtpd",
136 0,              FOP_FSO_FR,     0172000,        "addf",
137 0,              FOP_FSO_FR,     0173000,        "subf",
138 0,              FOP_FSO_FR,     0171000,        "mulf",
139 0,              FOP_FSO_FR,     0174400,        "divf",
140 0,              FOP_FSO_FR,     0173400,        "cmpf",
141 0,              FOP_FSO_FR,     0171400,        "modf",
142 0,              FOP_FSO,        0170400,        "clrf",
143 0,              FOP_FSO,        0170700,        "negf",
144 0,              FOP_FSO,        0170600,        "absf",
145 0,              FOP_FSO,        0170500,        "tstf",
146 0,              FOP_SO,         0170100,        "ldfps",
147 0,              FOP_SO,         0170200,        "stfps",
148 0,              FOP_SO,         0170300,        "stst",
149 0,              MOVF,           0,              "movf",
150 0,              FOP_SO_FR,      0177000,        "movif",
151 0,              FOP_SO_FR,      0176400,        "movie",
152 0,              FOP_FR_SO,      0175400,        "movfi",
153 0,              FOP_FR_SO,      0175000,        "movei",
154 0,              FOP_FSO_FR,     0177400,        "movof",
155 0,              FOP_FR_FSO,     0176000,        "movfo",