aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6k-opcode.h
blob: db02a9e8ce9e5ad5bfdeb2cf9bb0cf67ba6ae2ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

typedef int (*FUN)();

typedef	struct {
  char	*operator;			/* opcode name		*/
  char	*opr_ext;			/* opcode name ext.	*/
  char	*format;			/* opcode format	*/
  char	p_opcode;			/* primary opcode	*/
  int	e_opcode;			/* extended opcode	*/
  char	oprnd_format [6];		/* operand format	*/
} OPCODE;


OPCODE rs6k_ops [] = {

#include "rs6k-opcode.def"
};

#define	NOPCODES	(sizeof (rs6k_ops) / sizeof (OPCODE))