2001-12-04 Alexandre Oliva <aoliva@redhat.com>
+ * d10v-dis.c (print_operand): Disregard OPERAND_SP in register
+ predefined value.
+
* d10v-opc.c (RSRC_NOSP): New macro.
(d10v_operands): Add it.
(d10v_opcodes): Use RSRC_NOSP in post-decrement "st" and "st2w".
num += num ? OPERAND_ACC1 : OPERAND_ACC0;
for (i = 0; i < d10v_reg_name_cnt (); i++)
{
- if (num == d10v_predefined_registers[i].value)
+ if (num == (d10v_predefined_registers[i].value & ~ OPERAND_SP))
{
if (d10v_predefined_registers[i].pname)
(*info->fprintf_func) (info->stream, "%s",