Debugger: 2.9.1.11 Fixed: Right justify signed decimal values.

This commit is contained in:
michaelangel007 2022-01-04 11:21:42 -08:00
parent f3c0e151ab
commit 5e70f7949c
3 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,7 @@
/*
2.9.1.11 Fixed: Right justify signed decimal values.
2.9.1.10 Fixed: Immedate #80 was not showing -128 for the signed decimal value.
2.9.1.9 Fixed: Immediate #0 was showing '#' prefix but not showing zero for the signed decimal value. Changed to show the signed decimal value only if non zero.
2.9.1.8 Changed: Disassembly window now lists symbol labels and symbol target address from User2 in orange.
Example:
U 300

View File

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

View File

@ -1797,6 +1797,10 @@ WORD DrawDisassemblyLine ( int iLine, const WORD nBaseAddress )
if( line.nImmediate )
{
// Right justify to target ADDR:##
size_t len = strlen( line.sImmediateSignedDec );
linerect.left += (2 + (4 - len)) * nDefaultFontWidth;
DebuggerSetColorFG( DebuggerGetColor( FG_INFO_OPERATOR ));
PrintTextCursorX( "#", linerect );