forked from Imagelibrary/binutils-gdb
Fixes the check for emulated MSP430 instrucrtions that take no operands.
PR 18474 * msp430-dis.c (msp430_nooperands): Fix check for emulated insns.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2015-06-04 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
PR 18474
|
||||||
|
* msp430-dis.c (msp430_nooperands): Fix check for emulated insns.
|
||||||
|
|
||||||
2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
|
2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
|
||||||
|
|
||||||
* arm-dis.c (arm_opcodes): Add "setpan".
|
* arm-dis.c (arm_opcodes): Add "setpan".
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ msp430_nooperands (struct msp430_opcode_s *opcode,
|
|||||||
|
|
||||||
if (opcode->fmt == 0)
|
if (opcode->fmt == 0)
|
||||||
{
|
{
|
||||||
if ((insn & 0x0f00) != 3 || (insn & 0x0f00) != 2)
|
if ((insn & 0x0f00) != 0x0300 || (insn & 0x0f00) != 0x0200)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
strcpy (comm, "emulated...");
|
strcpy (comm, "emulated...");
|
||||||
|
|||||||
Reference in New Issue
Block a user