| 1 | /* alpha.h -- Header file for Alpha opcode table
|
|---|
| 2 | Copyright 1996, 1999 Free Software Foundation, Inc.
|
|---|
| 3 | Contributed by Richard Henderson <[email protected]>,
|
|---|
| 4 | patterned after the PPC opcode table written by Ian Lance Taylor.
|
|---|
| 5 |
|
|---|
| 6 | This file is part of GDB, GAS, and the GNU binutils.
|
|---|
| 7 |
|
|---|
| 8 | GDB, GAS, and the GNU binutils are free software; you can redistribute
|
|---|
| 9 | them and/or modify them under the terms of the GNU General Public
|
|---|
| 10 | License as published by the Free Software Foundation; either version
|
|---|
| 11 | 1, or (at your option) any later version.
|
|---|
| 12 |
|
|---|
| 13 | GDB, GAS, and the GNU binutils are distributed in the hope that they
|
|---|
| 14 | will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
|---|
| 15 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
|
|---|
| 16 | the GNU General Public License for more details.
|
|---|
| 17 |
|
|---|
| 18 | You should have received a copy of the GNU General Public License
|
|---|
| 19 | along with this file; see the file COPYING. If not, write to the Free
|
|---|
| 20 | Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
|---|
| 21 |
|
|---|
| 22 | #ifndef OPCODE_ALPHA_H
|
|---|
| 23 | #define OPCODE_ALPHA_H
|
|---|
| 24 |
|
|---|
| 25 | /* The opcode table is an array of struct alpha_opcode. */
|
|---|
| 26 |
|
|---|
| 27 | struct alpha_opcode
|
|---|
| 28 | {
|
|---|
| 29 | /* The opcode name. */
|
|---|
| 30 | const char *name;
|
|---|
| 31 |
|
|---|
| 32 | /* The opcode itself. Those bits which will be filled in with
|
|---|
| 33 | operands are zeroes. */
|
|---|
| 34 | unsigned opcode;
|
|---|
| 35 |
|
|---|
| 36 | /* The opcode mask. This is used by the disassembler. This is a
|
|---|
| 37 | mask containing ones indicating those bits which must match the
|
|---|
| 38 | opcode field, and zeroes indicating those bits which need not
|
|---|
| 39 | match (and are presumably filled in by operands). */
|
|---|
| 40 | unsigned mask;
|
|---|
| 41 |
|
|---|
| 42 | /* One bit flags for the opcode. These are primarily used to
|
|---|
| 43 | indicate specific processors and environments support the
|
|---|
|
|---|