/[smarc]/smarc/src/vmachine/instr_word.h
ViewVC logotype

Diff of /smarc/src/vmachine/instr_word.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by misto, Sat Dec 28 12:45:29 2002 UTC revision 1.5 by misto, Sat Dec 28 16:28:11 2002 UTC
# Line 67  class instr_word { Line 67  class instr_word {
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    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26