diff options
Diffstat (limited to 'src/icont/opcode.h')
-rw-r--r-- | src/icont/opcode.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/icont/opcode.h b/src/icont/opcode.h new file mode 100644 index 0000000..ca98cf1 --- /dev/null +++ b/src/icont/opcode.h @@ -0,0 +1,17 @@ +/* + * Opcode table structure. + */ + +struct opentry { + char *op_name; /* name of opcode */ + int op_code; /* opcode number */ + }; + +/* + * External definitions. + */ + +extern struct opentry optable[]; +extern int NOPCODES; + +#include "../h/opdefs.h" |