Initial entry

This commit is contained in:
dick
1988-06-22 16:57:09 +00:00
parent 4934f830fc
commit a717832bfb
68 changed files with 15062 additions and 0 deletions

29
util/int/switch.c Normal file
View File

@@ -0,0 +1,29 @@
/*
The big switch on all the opcodes
*/
/* $Header$ */
#include <em_abs.h>
#include "global.h"
#include "opcode.h"
#include "text.h"
#include "trap.h"
#include "warn.h"
do_instr(opcode)
unsigned int opcode;
{
switch (opcode) {
#include "switch/DoCases" /* for the muscle */
case SECONDARY:
do_instr(SEC_BASE + nextPCbyte());
break;
case TERTIARY:
do_instr(TERT_BASE + nextPCbyte());
break;
default:
wtrap(WBADOPC, EILLINS);
break;
}
}