/* 
 * Copyright (C) 2000-2002 ASANO Masahiro 
 */

#ifndef ASM_H
#define ASM_H

#define	DIRECT	0
#define	BYTE1	10
#define	BYTE2	11
#define	BYTE4	12
#define BYTE6	13
#define	ADDR4	14
#define	RELAD1	15
#define	RELAD2	16
#define	RELAD4	17
#define	MOD0_1	18
#define	MOD0_4	19
#define	MOD1_1	20
#define	MOD1_4	21
#define	SREG0	22
#define	SREG1	23
#define	OP2B	24
#define IMM	25
#define	GROUPA	26
#define	GROUPB	27
#define	GROUPC	28
#define	GROUPD	29
#define	GROUPE	30
#define	GROUPF	31
#define	GROUPG	32
#define	GROUPH	33
#define	GROUP16	34
#define	OPSIZE	35
#define	POP	36
#define	IMUL	37
#define	SET	38
#define	ENTER	39
#define	CREG0	40
#define	CREG1	41
#define	ARG3	42
#define	NPX	43
#define	MMX	44
#define	PREF	45

struct mnemonic {
	int type;
	int nbyte;
	const char *op;
};

extern const struct mnemonic code1[256];
extern const struct mnemonic code2[256];

#endif /*ASM_H*/
