OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_36/] [insight/] [opcodes/] [or32.c] - Diff between revs 714 and 717

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 714 Rev 717
Line 1... Line 1...
/* Table of opcodes for the OpenRISC 1000 ISA.
/* Table of opcodes for the OpenRISC 1000 ISA.
   Copyright 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
   Copyright 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
   Contributed by Damjan Lampret (lampret@opencores.org).
   Contributed by Damjan Lampret (lampret@opencores.org).
 
 
This file is part of gen_or1k_isa, or1k, GDB and GAS.
This file is part of gen_or1k_isa, or1ksim, GDB and GAS.
 
 
This program is free software; you can redistribute it and/or modify
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
(at your option) any later version.
Line 424... Line 424...
        break;
        break;
      }
      }
  return found;
  return found;
}
}
 
 
CONST char *insn_name(int index)
/* Returns name of the specified instruction index */
 
CONST char *
 
insn_name(int index)
{
{
  if (index >= 0 && index < num_opcodes)
  if (index >= 0 && index < num_opcodes)
    return or32_opcodes[index].name;
    return or32_opcodes[index].name;
  else
  else
    return "???";
    return "???";
}
}
 
 
void l_none()
void
 
l_none()
{
{
}
}
 
 
 
 
/*** Finite automata for instruction decoding building code ***/
/*** Finite automata for instruction decoding building code ***/
 
 
/* Find simbols in encoding.  */
/* Find simbols in encoding.  */
unsigned long
unsigned long
insn_extract(param_ch, enc_initial)
insn_extract(param_ch, enc_initial)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.