1987-03-09 19:15:41 +00:00
|
|
|
/*
|
|
|
|
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
|
|
|
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
|
|
|
*/
|
1994-06-24 14:02:31 +00:00
|
|
|
#define RCSID1 "$Id$"
|
1985-06-10 16:57:01 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Zilog Z80 dependent C declarations.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define B 0
|
|
|
|
#define C 1
|
|
|
|
#define D 2
|
|
|
|
#define E 3
|
|
|
|
#define H 4
|
|
|
|
#define L 5
|
|
|
|
#define F 6
|
|
|
|
#define A 7
|
|
|
|
#define I 8
|
|
|
|
#define R 9
|
|
|
|
#define BC 0
|
|
|
|
#define DE 1
|
|
|
|
#define HL 2
|
|
|
|
#define SP 3
|
|
|
|
#define AF 4
|
|
|
|
#define AF2 5
|
|
|
|
#define IX 6
|
|
|
|
#define IY 7
|
|
|
|
|
|
|
|
#define low3(z) ((z) & 07)
|
|
|
|
#define fit3(z) (low3(z) == (z))
|
|
|
|
|
|
|
|
extern expr_t exp_ind;
|
|
|
|
#ifndef ASLD
|
|
|
|
extern int rel_ind;
|
|
|
|
#endif
|
2019-03-24 16:14:27 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Zilog Z80 special routines
|
|
|
|
*/
|
|
|
|
void xyreg(int r,int byte);
|
|
|
|
void xymem(int r,int byte);
|
|
|
|
void branch(register int opc,expr_t exp);
|