Subversion Repositories Kolibri OS

Rev

Rev 5191 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5191 Rev 6324
Line 1... Line 1...
1
/* Opcode decoder for the TI MSP430
1
/* Opcode decoder for the TI MSP430
2
   Copyright 2012-2013 Free Software Foundation, Inc.
2
   Copyright (C) 2012-2015 Free Software Foundation, Inc.
3
   Written by DJ Delorie 
3
   Written by DJ Delorie 
Line 4... Line 4...
4
 
4
 
Line 5... Line 5...
5
   This file is part of GDB, the GNU Debugger.
5
   This file is part of GDB, the GNU Debugger.
Line 17... Line 17...
17
   You should have received a copy of the GNU General Public License
17
   You should have received a copy of the GNU General Public License
18
   along with this program; if not, write to the Free Software
18
   along with this program; if not, write to the Free Software
19
   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
19
   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
20
   02110-1301, USA.  */
20
   02110-1301, USA.  */
Line -... Line 21...
-
 
21
 
-
 
22
#ifdef __cplusplus
-
 
23
extern "C" {
-
 
24
#endif
21
 
25
 
22
typedef enum
26
typedef enum
23
{
27
{
24
  MSO_unknown,
28
  MSO_unknown,
25
  /* Double-operand instructions - all repeat .REPEATS times. */
29
  /* Double-operand instructions - all repeat .REPEATS times. */
Line 126... Line 130...
126
  /* By convention, these are [0]destination, [1]source.  */
130
  /* By convention, these are [0]destination, [1]source.  */
127
  MSP430_Opcode_Operand	op[2];
131
  MSP430_Opcode_Operand	op[2];
128
} MSP430_Opcode_Decoded;
132
} MSP430_Opcode_Decoded;
Line 129... Line 133...
129
 
133
 
-
 
134
int msp430_decode_opcode (unsigned long, MSP430_Opcode_Decoded *, int (*)(void *), void *);
-
 
135
 
-
 
136
#ifdef __cplusplus
-
 
137
}