Debugger: 2.9.1.6 Added: Branch instructions now show target address

This commit is contained in:
michaelangel007 2022-01-03 22:48:12 -08:00
parent b3dc408195
commit ba9388d1d8
3 changed files with 10 additions and 9 deletions

View File

@ -1,5 +1,6 @@
/* /*
2.9.1.6 Added: Branch instructions now show target address
2.9.1.5 Added: Disassembly window now shows signed decimal values for immediate values. 2.9.1.5 Added: Disassembly window now shows signed decimal values for immediate values.
2.9.1.4 Changed: Show symbol warnings in Orange, and length of symbols in light blue. 2.9.1.4 Changed: Show symbol warnings in Orange, and length of symbols in light blue.
2.9.1.3 Added: DB commanoptionally supports = 2.9.1.3 Added: DB commanoptionally supports =

View File

@ -51,7 +51,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#define ALLOW_INPUT_LOWERCASE 1 #define ALLOW_INPUT_LOWERCASE 1
// See /docs/Debugger_Changelog.txt for full details // See /docs/Debugger_Changelog.txt for full details
const int DEBUGGER_VERSION = MAKE_VERSION(2,9,1,5); const int DEBUGGER_VERSION = MAKE_VERSION(2,9,1,6);
// Public _________________________________________________________________________________________ // Public _________________________________________________________________________________________

View File

@ -245,14 +245,14 @@ int GetDisassemblyLine(WORD nBaseAddress, DisasmLine_t& line_)
if (nTarget < nBaseAddress) if (nTarget < nBaseAddress)
sprintf(line_.sBranch, "%s", g_sConfigBranchIndicatorUp[g_iConfigDisasmBranchType]); sprintf(line_.sBranch, "%s", g_sConfigBranchIndicatorUp[g_iConfigDisasmBranchType]);
else else
if (nTarget > nBaseAddress) if (nTarget > nBaseAddress)
{ sprintf(line_.sBranch, "%s", g_sConfigBranchIndicatorDown[g_iConfigDisasmBranchType]);
sprintf(line_.sBranch, "%s", g_sConfigBranchIndicatorDown[g_iConfigDisasmBranchType]); else
} sprintf(line_.sBranch, "%s", g_sConfigBranchIndicatorEqual[g_iConfigDisasmBranchType]);
else
{ bDisasmFormatFlags |= DISASM_FORMAT_TARGET_POINTER;
sprintf(line_.sBranch, "%s", g_sConfigBranchIndicatorEqual[g_iConfigDisasmBranchType]); if (g_iConfigDisasmTargets & DISASM_TARGET_ADDR)
} sprintf(line_.sTargetPointer, "%04X", nTarget & 0xFFFF);
} }
// intentional re-test AM_R ... // intentional re-test AM_R ...