diff options
Diffstat (limited to 'src/devices/cpu/ucom4/ucom4d.cpp')
-rw-r--r-- | src/devices/cpu/ucom4/ucom4d.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/devices/cpu/ucom4/ucom4d.cpp b/src/devices/cpu/ucom4/ucom4d.cpp index 17505de32df..6b450c7fbc9 100644 --- a/src/devices/cpu/ucom4/ucom4d.cpp +++ b/src/devices/cpu/ucom4/ucom4d.cpp @@ -9,6 +9,22 @@ #include "emu.h" #include "ucom4d.h" + +// common lookup tables + +enum ucom4_disassembler::e_mnemonics : unsigned +{ + mILL, + mLI, mL, mLM, mLDI, mLDZ, mS, mTAL, mTLA, + mX, mXI, mXD, mXM, mXMI, mXMD, mAD, mADC, mADS, mDAA, mDAS, + mEXL, mCLA, mCMA, mCIA, mCLC, mSTC, mTC, mINC, mDEC, mIND, mDED, + mRMB, mSMB, mREB, mSEB, mRPB, mSPB, mJMP, mJCP, mJPA, mCAL, mCZP, mRT, mRTS, + mCI, mCM, mCMB, mTAB, mCLI, mTMB, mTPA, mTPB, + mTIT, mIA, mIP, mOE, mOP, mOCD, mNOP, + mTAW, mTAZ, mTHX, mTLY, mXAW, mXAZ, mXHR, mXHX, mXLS, mXLY, mXC, + mSFB, mRFB, mFBT, mFBF, mRAR, mINM, mDEM, mSTM, mTTM, mEI, mDI +}; + const char *const ucom4_disassembler::s_mnemonics[] = { "?", @@ -75,6 +91,8 @@ const u8 ucom4_disassembler::ucom4_mnemonic[0x100] = }; +// disasm + offs_t ucom4_disassembler::disassemble(std::ostream &stream, offs_t pc, const data_buffer &opcodes, const data_buffer ¶ms) { offs_t pos = pc; |