#ifndef _EXTERNAL_H_
#define _EXTERNAL_H_
#define MAXOPLEN 85
#define NUMBITS 32
#define BIT2BYTE(bits) ((((bits)+NUMBITS-1)/NUMBITS)*(NUMBITS/8))
#define BITSET(arr, bit) (arr[bit/NUMBITS] |= ((int)1 << (bit & (NUMBITS-1))))
#define BITCLEAR(arr, bit) (arr[bit/NUMBITS] &= ~((int)1 << (bit & (NUMBITS-1))))
#define TESTBIT(arr, bit) (arr[bit/NUMBITS] & ((int)1 << (bit & (NUMBITS-1))))
typedef int bittype;
extern int tempregs[], permregs[];
#define NTEMPREG 8
#define FREGS 7
#define NPERMREG 8
extern bittype validregs[];
#define AREGCNT 11
#define BREGCNT 10
#define CREGCNT 8
#define DREGCNT 0
#define EREGCNT 0
#define FREGCNT 0
#define GREGCNT 0
int aliasmap(int class, int regnum);
int color2reg(int color, int class);
int interferes(int reg1, int reg2);
#endif /* _EXTERNAL_H_ */
