diff options
Diffstat (limited to 'opcodes/msp430-decode.opc')
-rw-r--r-- | opcodes/msp430-decode.opc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/opcodes/msp430-decode.opc b/opcodes/msp430-decode.opc index 5afd3f346b5..8cdae5afaef 100644 --- a/opcodes/msp430-decode.opc +++ b/opcodes/msp430-decode.opc @@ -25,6 +25,7 @@ #include <stdlib.h> #include <string.h> #include "ansidecl.h" +#include "opintl.h" #include "opcode/msp430-decode.h" static int trace = 0; @@ -140,9 +141,9 @@ immediate (int bytes, int sign_extend, LocalData *ld) i -= 0x100000000ULL; break; default: - fprintf (stderr, - "Programmer error: immediate() called with invalid byte count %d\n", - bytes); + opcodes_error_handler + (_("internal error: immediate() called with invalid byte count %d"), + bytes); abort (); } return i; |