67 |
instr instr; |
instr instr; |
68 |
igroup group; |
igroup group; |
69 |
|
|
70 |
int src1, src2, dst, opc, imm13; |
unsigned int src1 : 5, src2 : 5, dst : 5, opc :6 ; |
71 |
|
int imm13: 13; |
72 |
|
|
73 |
int a, cnd; |
unsigned int a : 1, cnd : 4; |
74 |
unsigned long dsp22; |
int dsp22 : 22; |
75 |
|
|
76 |
// call instruction |
// call instruction |
77 |
unsigned long dsp30; |
int dsp30 : 30; |
78 |
|
|
79 |
// sethi instruction |
// sethi instruction |
80 |
unsigned long imm22; |
int imm22 : 22; |
81 |
|
|
82 |
void recognize_instr( void ); |
void recognize_instr( void ); |
83 |
|
|
84 |
instr_word( void ) : raw(0) {} |
instr_word( void ) : raw(0) {} |
85 |
instr_word( unsigned long r ); |
instr_word( bit_word r ); |
86 |
}; |
}; |
87 |
|
|
88 |
|
|