alpha.h (60484) | alpha.h (89857) |
---|---|
1/* alpha.h -- Header file for Alpha opcode table 2 Copyright 1996, 1999 Free Software Foundation, Inc. 3 Contributed by Richard Henderson <rth@tamu.edu>, 4 patterned after the PPC opcode table written by Ian Lance Taylor. 5 6This file is part of GDB, GAS, and the GNU binutils. 7 8GDB, GAS, and the GNU binutils are free software; you can redistribute --- 67 unchanged lines hidden (view full) --- 76#define AXP_NOPS 0x40 77 78 79/* The operands table is an array of struct alpha_operand. */ 80 81struct alpha_operand 82{ 83 /* The number of bits in the operand. */ | 1/* alpha.h -- Header file for Alpha opcode table 2 Copyright 1996, 1999 Free Software Foundation, Inc. 3 Contributed by Richard Henderson <rth@tamu.edu>, 4 patterned after the PPC opcode table written by Ian Lance Taylor. 5 6This file is part of GDB, GAS, and the GNU binutils. 7 8GDB, GAS, and the GNU binutils are free software; you can redistribute --- 67 unchanged lines hidden (view full) --- 76#define AXP_NOPS 0x40 77 78 79/* The operands table is an array of struct alpha_operand. */ 80 81struct alpha_operand 82{ 83 /* The number of bits in the operand. */ |
84 int bits; | 84 unsigned int bits : 5; |
85 86 /* How far the operand is left shifted in the instruction. */ | 85 86 /* How far the operand is left shifted in the instruction. */ |
87 int shift; | 87 unsigned int shift : 5; |
88 89 /* The default relocation type for this operand. */ | 88 89 /* The default relocation type for this operand. */ |
90 int default_reloc; | 90 signed int default_reloc : 16; |
91 92 /* One bit syntax flags. */ | 91 92 /* One bit syntax flags. */ |
93 unsigned flags; | 93 unsigned int flags : 16; |
94 95 /* Insertion function. This is used by the assembler. To insert an 96 operand value into an instruction, check this field. 97 98 If it is NULL, execute 99 i |= (op & ((1 << o->bits) - 1)) << o->shift; 100 (i is the instruction which we are filling in, o is a pointer to 101 this structure, and op is the opcode value; this assumes twos --- 137 unchanged lines hidden --- | 94 95 /* Insertion function. This is used by the assembler. To insert an 96 operand value into an instruction, check this field. 97 98 If it is NULL, execute 99 i |= (op & ((1 << o->bits) - 1)) << o->shift; 100 (i is the instruction which we are filling in, o is a pointer to 101 this structure, and op is the opcode value; this assumes twos --- 137 unchanged lines hidden --- |