mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-13 05:20:44 +00:00
* mn10200-dis.c (disassemble): Mask off unwanted bits after
adding in current address for pc-relative operands. Fixes disassembly of backwards 24bit pc-relative addressese.
This commit is contained in:
parent
483e1b9161
commit
09171e3fe6
@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
|
@ -313,7 +313,7 @@ disassemble (memaddr, info, insn, extension, size)
|
||||
}
|
||||
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user