opcodes.h 649 Bytes
/*
 * Copyright (C) 1996-1998 by the Board of Trustees
 *    of Leland Stanford Junior University.
 * 
 * This file is part of the SimOS distribution. 
 * See LICENSE file for terms of the license. 
 *
 */

/****************************************************************
 * opcodes.h
 * 
 * $Author: blythe $
 * $Date: 2002/05/29 01:09:10 $
 *****************************************************************/

#include "simtypes.h"
#include "cpu_state.h"


typedef Result (*OpcodeFPtr)(Inst, CPUState *);

typedef struct op_desc {
  char       *opname;
  OpcodeFPtr func;
  uint       num;
} MipsOpcodeDesc;

extern MipsOpcodeDesc mipsOpcodes[];