aboutsummaryrefslogtreecommitdiff
path: root/include/opcode/tic30.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/opcode/tic30.h')
-rw-r--r--include/opcode/tic30.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/opcode/tic30.h b/include/opcode/tic30.h
index 39a4dc7..1ca2f8b 100644
--- a/include/opcode/tic30.h
+++ b/include/opcode/tic30.h
@@ -27,7 +27,7 @@
struct _register
{
- char *name;
+ const char *name;
unsigned char opcode;
unsigned char regtype;
};
@@ -135,7 +135,7 @@ static const reg *const tic30_regtab_end
#define PostIR0_Add_BitRev 0x19
typedef struct {
- char *syntax;
+ const char *syntax;
unsigned char modfield;
unsigned char displacement;
} ind_addr_type;
@@ -215,7 +215,7 @@ static const ind_addr_type *const tic30_indaddrtab_end
typedef struct _template
{
- char *name;
+ const char *name;
unsigned int operands; /* how many operands */
unsigned int base_opcode; /* base_opcode is the fundamental opcode byte */
/* the bits in opcode_modifier are used to generate the final opcode from
@@ -608,7 +608,7 @@ static const insn_template *const tic30_optab_end =
tic30_optab + sizeof(tic30_optab)/sizeof(tic30_optab[0]);
typedef struct {
- char *name;
+ const char *name;
unsigned int operands_1;
unsigned int operands_2;
unsigned int base_opcode;