This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] objdump target msp430
- From: Nick Clifton <nickc at redhat dot com>
- To: "Albert Bartoszko" <albar at nt dot kegel dot com dot pl>
- Cc: <binutils at sources dot redhat dot com>
- Date: Fri, 02 Jan 2004 17:18:08 +0000
- Subject: Re: [PATCH] objdump target msp430
- References: <005a01c3c952$0b2cea20$1e00020a@ref>
Hi Albert,
> *** binutils-031223/opcodes/msp430-dis.c.org Mon Dec 30 20:25:14 2002
> --- binutils-031223/opcodes/msp430-dis.c Tue Dec 23 12:52:14 2003
> ***************
> *** 490,496 ****
> --- 490,499 ----
> else if (regd == 2)
> {
> /* Absolute. */
> + short src;
> + src = msp430dis_opcode (addr + 4, info);
> dst = msp430dis_opcode (addr + 2, info);
> + if (src != dst) return 0;
> cmd_len += 4;
> *cycles = 6;
> sprintf (op1, "&0x%04x", PS (dst));
Thanks for submitting this patch. I have applied it, along with a
small patch to the msp430 gas testsuite, to make sure that the bug
does not reappear.
Cheers
Nick
opcodes/ChangeLog
2004-01-02 Albert Bartoszko <albar@nt.kegel.com.pl>
* msp430-dis.c (msp430_doubleoperand): Check for an 'add'
instruction which looks similar to an 'rla' instruction.
gas/testsuite/ChangeLog
2004-01-02 Albert Bartoszko <albar@nt.kegel.com.pl>
* gas/msp430/opcode.s: Add test for an 'add' instruction which
looks similar to an 'rla' instruction.