diff options
Diffstat (limited to 'src/devices/cpu/m6800/6800dasm.cpp')
-rw-r--r-- | src/devices/cpu/m6800/6800dasm.cpp | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/devices/cpu/m6800/6800dasm.cpp b/src/devices/cpu/m6800/6800dasm.cpp index 2e94ef3b62d..49f908013cd 100644 --- a/src/devices/cpu/m6800/6800dasm.cpp +++ b/src/devices/cpu/m6800/6800dasm.cpp @@ -52,8 +52,7 @@ enum op_names { rts, sba, sbca, sbcb, sec, sev, sta, stb, _std, sei, sts, stx, suba, subb, subd, swi, wai, tab, tap, tba, tim, tpa, tst, tsta, - tstb, tsx, txs, asx1, asx2, xgdx, addx, adcx, - bitx + tstb, tsx, txs, asx1, asx2, xgdx, addx, adcx }; static const char *const op_name_str[] = { @@ -72,8 +71,7 @@ static const char *const op_name_str[] = { "rts", "sba", "sbca", "sbcb", "sec", "sev", "sta", "stb", "std", "sei", "sts", "stx", "suba", "subb", "subd", "swi", "wai", "tab", "tap", "tba", "tim", "tpa", "tst", "tsta", - "tstb", "tsx", "txs", "asx1", "asx2", "xgdx", "addx", "adcx", - "bitx" + "tstb", "tsx", "txs", "asx1", "asx2", "xgdx", "addx", "adcx" }; /* @@ -84,7 +82,7 @@ static const char *const op_name_str[] = { * 2 invalid opcode for 1:6800/6802/6808, 2:6801/6803, 4:HD63701 */ -static const UINT8 table[0x104][3] = { +static const UINT8 table[0x102][3] = { {ill, inh,7},{nop, inh,0},{ill, inh,7},{ill, inh,7},/* 00 */ {lsrd,inh,1},{asld,inh,1},{tap, inh,0},{tpa, inh,0}, {inx, inh,0},{dex, inh,0},{clv, inh,0},{sev, inh,0}, @@ -153,11 +151,7 @@ static const UINT8 table[0x104][3] = { /* extra instruction $fc for NSC-8105 */ {addx,ext,0}, /* extra instruction $ec for NSC-8105 */ - {adcx,imb,0}, - /* extra instruction $bb for NSC-8105 */ - {bitx,imx,0}, - /* extra instruction $b2 for NSC-8105 */ - {stx,imx,0} + {adcx,imb,0} }; /* some macros to keep things short */ @@ -194,8 +188,6 @@ static unsigned Dasm680x (int subtype, char *buf, unsigned pc, const UINT8 *opro /* and check for extra instruction */ if (code == 0xfc) code = 0x0100; if (code == 0xec) code = 0x0101; - if (code == 0x7b) code = 0x0102; - if (code == 0x71) code = 0x0103; } opcode = table[code][0]; |