1 |
/* alpha.h -- Header file for Alpha opcode table |
/* alpha.h -- Header file for Alpha opcode table |
2 |
Copyright 1996, 1999 Free Software Foundation, Inc. |
Copyright 1996, 1999, 2001, 2003 Free Software Foundation, Inc. |
3 |
Contributed by Richard Henderson <rth@tamu.edu>, |
Contributed by Richard Henderson <rth@tamu.edu>, |
4 |
patterned after the PPC opcode table written by Ian Lance Taylor. |
patterned after the PPC opcode table written by Ian Lance Taylor. |
5 |
|
|
108 |
string (the operand will be inserted in any case). If the |
string (the operand will be inserted in any case). If the |
109 |
operand value is legal, *ERRMSG will be unchanged (most operands |
operand value is legal, *ERRMSG will be unchanged (most operands |
110 |
can accept any value). */ |
can accept any value). */ |
111 |
unsigned (*insert) PARAMS ((unsigned instruction, int op, |
unsigned (*insert) (unsigned instruction, int op, const char **errmsg); |
|
const char **errmsg)); |
|
112 |
|
|
113 |
/* Extraction function. This is used by the disassembler. To |
/* Extraction function. This is used by the disassembler. To |
114 |
extract this operand type from an instruction, check this field. |
extract this operand type from an instruction, check this field. |
127 |
non-zero if this operand type can not actually be extracted from |
non-zero if this operand type can not actually be extracted from |
128 |
this operand (i.e., the instruction does not match). If the |
this operand (i.e., the instruction does not match). If the |
129 |
operand is valid, *INVALID will not be changed. */ |
operand is valid, *INVALID will not be changed. */ |
130 |
int (*extract) PARAMS ((unsigned instruction, int *invalid)); |
int (*extract) (unsigned instruction, int *invalid); |
131 |
}; |
}; |
132 |
|
|
133 |
/* Elements in the table are retrieved by indexing with values from |
/* Elements in the table are retrieved by indexing with values from |