[RSP] Scalar memory load/stores show signed hex offset.

This commit is contained in:
unknown 2015-09-12 18:18:59 -04:00
parent 801d257416
commit c80ce69941
1 changed files with 3 additions and 2 deletions

View File

@ -1228,10 +1228,11 @@ char * RSPOpcodeName ( DWORD OpCode, DWORD PC )
case RSP_SB:
case RSP_SH:
case RSP_SW:
sprintf(CommandName, "%s\t%s, 0x%04X(%s)",
sprintf(CommandName, "%s\t%s, %c0x%04X(%s)",
mnemonics_primary[command.op],
GPR_Name(command.rt),
command.offset,
((int16_t)command.offset < 0) ? '-' : '+',
abs((int16_t)command.offset),
GPR_Name(command.base)
);
break;