opcodes/
* s12z-opc.c (bm_decode): Handle the RESERVERD0 case.
gas/
* testsuite/gas/s12z/bit-manip-invalid.d: Extend the test.
* testsuite/gas/s12z/bit-manip-invalid.s: Extend the test.
+2019-04-24 John Darrington <john@darrington.wattle.id.au>
+
+ * testsuite/gas/s12z/bit-manip-invalid.s: Extend test for BSET
+ and BCLR instructions with an invalid mode.
+ * testsuite/gas/s12z/bit-manip-invalid.d: ditto.
+
2019-04-19 Nick Clifton <nickc@redhat.com>
PR 24464
#objdump: -d
-#name: Test of disassembler behaviour by with invalid bit manipulation instructions
+#name: Test of disassembler behaviour with invalid bit manipulation instructions
#source: bit-manip-invalid.s
8: 03 65 12 brset d1, #4, \*\+18
b: 01 nop
c: 01 nop
+ d: ec 44 bclr d0, #0
+ f: ec 7c bclr d0, #7
+ 11: ed 5d bset d1, #3
+ 13: ed 7d bset d1, #7
nop
DC.L 0x03651201
nop
+ dc.w 0xEC44
+ dc.w 0xEC7C
+ dc.w 0xED5D
+ dc.w 0xED7D
* s12z-opc.h: Add extern "C" bracketing to help
users who wish to use this interface in c++ code.
+2019-04-24 John Darrington <john@darrington.wattle.id.au>
+
+ * s12z-opc.c (bm_decode): Handle bit map operations with the
+ "reserved0" mode.
+
2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
* arm-dis.c (coprocessor_opcodes): Document new %J and %K format
switch (mode)
{
case BM_REG_IMM:
+ case BM_RESERVED0:
imm = (bm & 0x38) >> 3;
operand[(*n_operands)++] = create_immediate_operand (imm);
break;
case BM_RESERVED1:
operand[(*n_operands)++] = create_register_operand ((bm & 0x70) >> 4);
break;
- case BM_RESERVED0:
- assert (0);
- break;
}
}