mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-20 00:17:16 +00:00
Debugger: 2.9.1.5 Added: Disassembly window now shows signed decimal values for immediate values.
This commit is contained in:
@@ -1515,7 +1515,7 @@ WORD DrawDisassemblyLine ( int iLine, const WORD nBaseAddress )
|
||||
}
|
||||
|
||||
|
||||
// Address Seperator
|
||||
// Address Seperator
|
||||
if (! bCursorLine)
|
||||
DebuggerSetColorFG( DebuggerGetColor( FG_DISASM_OPERATOR ) );
|
||||
|
||||
@@ -1782,6 +1782,17 @@ WORD DrawDisassemblyLine ( int iLine, const WORD nBaseAddress )
|
||||
}
|
||||
}
|
||||
|
||||
// 2.9.1.4: Print decimal for immediate values
|
||||
if (line.bTargetImmediate)
|
||||
{
|
||||
linerect.left = (int) aTabs[ TS_IMMEDIATE ];
|
||||
DebuggerSetColorFG( DebuggerGetColor( FG_INFO_OPERATOR ));
|
||||
PrintTextCursorX( "#", linerect );
|
||||
|
||||
DebuggerSetColorFG( DebuggerGetColor( FG_DISASM_SINT8 ));
|
||||
PrintTextCursorX( line.sImmediateSignedDec, linerect);
|
||||
}
|
||||
|
||||
// Immediate Char
|
||||
if (bDisasmFormatFlags & DISASM_FORMAT_CHAR)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user