]>
Commit | Line | Data |
---|---|---|
cd56d314 JG |
1 | |
2 | typedef int (*FUN)(); | |
3 | ||
4 | typedef struct { | |
5 | char *operator; /* opcode name */ | |
6 | char *opr_ext; /* opcode name ext. */ | |
7 | char *format; /* opcode format */ | |
8 | char p_opcode; /* primary opcode */ | |
9 | int e_opcode; /* extended opcode */ | |
10 | char oprnd_format [6]; /* operand format */ | |
11 | } OPCODE; | |
12 | ||
13 | ||
14 | OPCODE rs6k_ops [] = { | |
15 | ||
16 | #include "rs6k-opcode.def" | |
17 | }; | |
18 | ||
19 | #define NOPCODES (sizeof (rs6k_ops) / sizeof (OPCODE)) |