opcode, not the address following the opcode.
+2010-12-14 DJ Delorie <dj@redhat.com>
+
+ * rx.c (decode_opcode): For "MVFC PC,", use the address of the
+ opcode, not the address following the opcode.
+
2010-11-11 DJ Delorie <dj@redhat.com>
* rx.c (lsb_count): New.
case RXO_mov:
v = GS ();
+ if (opcode->op[1].type == RX_Operand_Register
+ && opcode->op[1].reg == 17 /* PC */)
+ {
+ /* Special case. We want the address of the insn, not the
+ address of the next insn. */
+ v = opcode_pc;
+ }
+
if (opcode->op[0].type == RX_Operand_Register
&& opcode->op[0].reg == 16 /* PSW */)
{