Pristine Ack-5.5
[Ack-5.5.git] / mach / 6809 / 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.3 1994/06/24 12:56:18 ceriel Exp $"
6
7 /*
8  * Motorola 6809 C declarations
9  */
10
11 extern int dpvalue INIT(-1);    /* for setdp pseudo-op */
12
13 #ifndef extern
14 extern int regbit[];
15 #else
16 int regbit[] = {        /* push-pull coding */
17         6,      /* D */
18         0x10,   /* X */
19         0x20,   /* Y */
20         0x40,   /* U */
21         0x40,   /* S */
22         0x80,   /* PC */
23         -1, -1,
24         2,      /* A */
25         4,      /* B */
26         1,      /* CC */
27         8,      /* DP */
28 };
29 #endif
30
31 /*
32  * Motorola 6809 register names
33  */
34
35 #define D       0
36 #define X       1
37 #define Y       2
38 #define U       3
39 #define S       4
40 #define PC      5
41 #define A       8
42 #define B       9
43 #define CC      10
44 #define DP      11