diff options
author | Nick Clifton <nickc@redhat.com> | 2006-10-31 09:54:41 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2006-10-31 09:54:41 +0000 |
commit | b138abaa407d017e8e6b7d776577af1fd204ae0e (patch) | |
tree | 4b846e1dd58d4e4921541133d001233ceccd43ad /opcodes/score-dis.c | |
parent | a39f33461a71ec868be8917625b10bd66ab23eef (diff) | |
download | fsf-binutils-gdb-b138abaa407d017e8e6b7d776577af1fd204ae0e.zip fsf-binutils-gdb-b138abaa407d017e8e6b7d776577af1fd204ae0e.tar.gz fsf-binutils-gdb-b138abaa407d017e8e6b7d776577af1fd204ae0e.tar.bz2 |
* tc-score.c (data_op2): Check invalid operands.
(my_get_expression): Const operand of some instructions can not be symbol in assembly.
(get_insn_class_from_type): Handle instruction type Insn_internal.
(do_macro_ldst_label): Modify inst.type.
(Insn_PIC): Delete.
* score-inst.h (enum score_insn_type): Add Insn_internal.
* tc-score.c (data_op2): The immediate value in lw is 15 bit signed.
* score-dis.c (print_insn): Correct the error code to print correct PCE instruction disassembly.
Diffstat (limited to 'opcodes/score-dis.c')
-rw-r--r-- | opcodes/score-dis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/score-dis.c b/opcodes/score-dis.c index 0a4f67c..96d1ec4 100644 --- a/opcodes/score-dis.c +++ b/opcodes/score-dis.c @@ -469,8 +469,8 @@ print_insn (bfd_vma pc, struct disassemble_info *info, bfd_boolean little) { long other; - given = (given & 0xFFFF0000) >> 16; other = given & 0xFFFF; + given = (given & 0xFFFF0000) >> 16; status = print_insn_score16 (pc, info, given); print_insn_parallel_sym (info); |