srcclean (nw)

This commit is contained in:
Vas Crabb 2016-11-27 09:56:49 +11:00
parent 1637c91a5c
commit 7238415d1f
164 changed files with 2707 additions and 2705 deletions

View File

@ -491,7 +491,7 @@ static const opcodeinfo m6x09_opcodes[] =
{ 0x8A, 2, "ORA", IMM, M6x09_GENERAL },
{ 0x8B, 2, "ADDA", IMM, M6x09_GENERAL },
{ 0x8C, 3, "CMPX", IMM, M6x09_GENERAL },
{ 0x8D, 2, "BSR", REL, M6x09_GENERAL , DASMFLAG_STEP_OVER },
{ 0x8D, 2, "BSR", REL, M6x09_GENERAL, DASMFLAG_STEP_OVER },
{ 0x8E, 3, "LDX", IMM, M6x09_GENERAL },
{ 0x90, 2, "SUBA", DIR, M6x09_GENERAL },
@ -507,7 +507,7 @@ static const opcodeinfo m6x09_opcodes[] =
{ 0x9A, 2, "ORA", DIR, M6x09_GENERAL },
{ 0x9B, 2, "ADDA", DIR, M6x09_GENERAL },
{ 0x9C, 2, "CMPX", DIR, M6x09_GENERAL },
{ 0x9D, 2, "JSR", DIR, M6x09_GENERAL , DASMFLAG_STEP_OVER },
{ 0x9D, 2, "JSR", DIR, M6x09_GENERAL, DASMFLAG_STEP_OVER },
{ 0x9E, 2, "LDX", DIR, M6x09_GENERAL },
{ 0x9F, 2, "STX", DIR, M6x09_GENERAL },
@ -1391,8 +1391,10 @@ void konami_disassembler::indirect(std::ostream &stream, uint8_t mode, const uin
break;
}
}
else {
switch (type & 7) {
else
{
switch (type & 7)
{
case 0x00: /* register a */
util::stream_format(stream, "a,%s", index_reg[idx]);
break;