diff options
author | David Carlton <carlton@bactrian.org> | 2004-01-26 19:11:55 +0000 |
---|---|---|
committer | David Carlton <carlton@bactrian.org> | 2004-01-26 19:11:55 +0000 |
commit | feff3e492f1aff01b62a61e38e20fc7e8fc89946 (patch) | |
tree | 08c456fb63098f7b46e1dfa74746c8ab87a74e8c /opcodes/msp430-dis.c | |
parent | aa0e88e3d758559942e192f3075a3edc0b2f222d (diff) | |
download | binutils-gdb-feff3e492f1aff01b62a61e38e20fc7e8fc89946.tar.gz |
2004-01-26 David Carlton <carlton@kealia.com>carlton_dictionary-branch
* Merge with mainline; tag is carlton_dictionary-20040126-merge.
Diffstat (limited to 'opcodes/msp430-dis.c')
-rw-r--r-- | opcodes/msp430-dis.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/opcodes/msp430-dis.c b/opcodes/msp430-dis.c index 767ffa472c1..1b5ffb1ec12 100644 --- a/opcodes/msp430-dis.c +++ b/opcodes/msp430-dis.c @@ -1,5 +1,5 @@ /* Disassemble MSP430 instructions. - Copyright (C) 2002 Free Software Foundation, Inc. + Copyright (C) 2002, 2004 Free Software Foundation, Inc. Contributed by Dmitry Diky <diwil@mail.ru> @@ -491,6 +491,10 @@ msp430_doubleoperand (info, opcode, addr, insn, op1, op2, comm1, comm2, cycles) { /* Absolute. */ dst = msp430dis_opcode (addr + 2, info); + /* If the 'src' field is not the same as the dst + then this is not an rla instruction. */ + if (dst != msp430dis_opcode (addr + 4, info)) + return 0; cmd_len += 4; *cycles = 6; sprintf (op1, "&0x%04x", PS (dst)); |