adding in current address for pc-relative operands.
Fixes disassembly of backwards 24bit pc-relative addressese.
+Mon Jan 6 15:06:55 1997 Jeffrey A Law (law@cygnus.com)
+
+ * mn10200-dis.c (disassemble): Mask off unwanted bits after
+ adding in current address for pc-relative operands.
+
start-sanitize-tic80
Mon Jan 6 10:56:25 1997 Fred Fish <fnf@cygnus.com>
}
else if ((operand->flags & MN10200_OPERAND_PCREL) != 0)
- (*info->print_address_func) (value + memaddr, info);
+ (*info->print_address_func) ((value + memaddr) & 0xffffff, info);
else if ((operand->flags & MN10200_OPERAND_MEMADDR) != 0)
(*info->print_address_func) (value, info);