Debugger: 2.9.1.10 Fixed: Immedate #80 was not showing -128 for the signed decimal value.
This commit is contained in:
parent
6b11e24a28
commit
f3c0e151ab
|
@ -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,9);
|
||||
const int DEBUGGER_VERSION = MAKE_VERSION(2,9,1,10);
|
||||
|
||||
|
||||
// Public _________________________________________________________________________________________
|
||||
|
|
|
@ -397,7 +397,7 @@ int GetDisassemblyLine(WORD nBaseAddress, DisasmLine_t& line_)
|
|||
sprintf(line_.sImmediateSignedDec, "+%d" , nTarget );
|
||||
else
|
||||
if (nTarget >= 128)
|
||||
sprintf(line_.sImmediateSignedDec, "-%d" , (~nTarget + 1) & 0x7F );
|
||||
sprintf(line_.sImmediateSignedDec, "-%d" , (~nTarget + 1) & 0xFF );
|
||||
|
||||
bDisasmFormatFlags |= DISASM_FORMAT_CHAR;
|
||||
line_.nImmediate = (BYTE)nTarget;
|
||||
|
|
Loading…
Reference in New Issue