Pristine Ack-5.5
[Ack-5.5.git] / mach / i86 / as / mach1.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 RCSID1 "$Id: mach1.c,v 3.4 1994/06/23 16:08:40 ceriel Exp $"
6
7 /*
8  * INTEL 8086 C declarations
9  */
10
11 #define low6(z)         (z & 077)
12 #define fit6(z)         (low6(z) == z)
13 #define low3(z)         (z & 07)
14 #define fit3(z)         (low3(z) == z)
15
16 #define FESC    0xD8            /* escape for 8087 processor */
17 extern int      mrg_1,mrg_2;
18 extern expr_t   exp_1,exp_2;
19 #ifndef ASLD
20 extern int      rel_1, rel_2;
21 #endif
22
23 #ifndef extern
24 extern char     sr_m[8];
25 #else
26 char    sr_m[8] = {
27         -1,     -1,     -1,     7,      -1,     6,      4,      5
28 };
29 #endif
30
31 #ifndef extern
32 extern char     dr_m[8][8];
33 #else
34 char    dr_m[8][8] = {
35         -1,     -1,     -1,     -1,     -1,     -1,     -1,     -1,
36         -1,     -1,     -1,     -1,     -1,     -1,     -1,     -1,
37         -1,     -1,     -1,     -1,     -1,     -1,     -1,     -1,
38         -1,     -1,     -1,     -1,     -1,     -1,     0,      1,
39         -1,     -1,     -1,     -1,     -1,     -1,     -1,     -1,
40         -1,     -1,     -1,     -1,     -1,     -1,     2,      3,
41         -1,     -1,     -1,     -1,     -1,     -1,     -1,     -1,
42         -1,     -1,     -1,     -1,     -1,     -1,     -1,     -1
43 };
44 #endif