2.6.2.10 Tweaked: Pretty printing 'B' of all bytes treated as data.

This commit is contained in:
mpohoreski 2010-12-16 07:39:07 +00:00
parent fd60d9ac9d
commit 476dbbfaa0

View File

@ -138,15 +138,14 @@ Update_t CmdDisasmDataList (int nArgs)
if (pData->iDirective != _NOP_REMOVED)
{
int nLen = strlen( pData->sSymbol );
// TODO:
// <smbol> <type> <start>:<end>
// <smbol> <type> <start>:<end>
// `TEST `300`:`320
sprintf( sText, "%s%s %s%s %s%04X%s:%s%04X"
sprintf( sText, "%s%s %s%*s %s%04X%s:%s%04X"
, CHC_CATEGORY
, g_aNopcodeTypes[ pData->eElementType ]
, (nLen > 0) ? CHC_SYMBOL : CHC_DEFAULT
, MAX_SYMBOLS_LEN
, (nLen > 0) ? pData->sSymbol : "???"
, CHC_ADDRESS
, pData->nStartAddress