Pristine Ack-5.5
[Ack-5.5.git] / mach / z80 / 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 13:54:43 ceriel Exp $"
6
7 /*
8  * Zilog Z80 dependent C declarations.
9  */
10
11 #define B               0
12 #define C               1
13 #define D               2
14 #define E               3
15 #define H               4
16 #define L               5
17 #define F               6
18 #define A               7
19 #define I               8
20 #define R               9
21 #define BC              0
22 #define DE              1
23 #define HL              2
24 #define SP              3
25 #define AF              4
26 #define AF2             5
27 #define IX              6
28 #define IY              7
29
30 #define low3(z)         ((z) & 07)
31 #define fit3(z)         (low3(z) == (z))
32
33 extern expr_t   exp_ind;
34 #ifndef ASLD
35 extern int      rel_ind;
36 #endif