diff options
author | 2024-03-07 19:13:10 +0100 | |
---|---|---|
committer | 2024-03-07 19:13:10 +0100 | |
commit | 27b4e602870709ad5225bfde3c553c109439683a (patch) | |
tree | 135684aa7fb7ac98269dcb5e57fde08d8caf77ec /src/devices/cpu | |
parent | 3226026f2dca7eeda158bad2c16a483640e9c890 (diff) |
misc hap disasm: correction to prev commit
Diffstat (limited to 'src/devices/cpu')
-rw-r--r-- | src/devices/cpu/amis2000/amis2000d.cpp | 2 | ||||
-rw-r--r-- | src/devices/cpu/cops1/cops1d.cpp | 2 | ||||
-rw-r--r-- | src/devices/cpu/e0c6200/e0c6200d.cpp | 4 | ||||
-rw-r--r-- | src/devices/cpu/h8/h83217.cpp | 4 | ||||
-rw-r--r-- | src/devices/cpu/h8/h8325.cpp | 4 | ||||
-rw-r--r-- | src/devices/cpu/h8/h8s2319.cpp | 6 | ||||
-rw-r--r-- | src/devices/cpu/hmcs40/hmcs40d.cpp | 2 | ||||
-rw-r--r-- | src/devices/cpu/melps4/melps4d.cpp | 2 | ||||
-rw-r--r-- | src/devices/cpu/mn1400/mn1400d.cpp | 2 | ||||
-rw-r--r-- | src/devices/cpu/pps41/pps41d.cpp | 2 | ||||
-rw-r--r-- | src/devices/cpu/rw5000/rw5000d.cpp | 2 | ||||
-rw-r--r-- | src/devices/cpu/sm510/sm510d.cpp | 2 | ||||
-rw-r--r-- | src/devices/cpu/tms1000/tms1k_dasm.cpp | 2 | ||||
-rw-r--r-- | src/devices/cpu/ucom4/ucom4d.cpp | 2 |
14 files changed, 19 insertions, 19 deletions
diff --git a/src/devices/cpu/amis2000/amis2000d.cpp b/src/devices/cpu/amis2000/amis2000d.cpp index 697f909607b..6f9d95d2a70 100644 --- a/src/devices/cpu/amis2000/amis2000d.cpp +++ b/src/devices/cpu/amis2000/amis2000d.cpp @@ -12,7 +12,7 @@ // common lookup tables -enum e_mnemonics : unsigned +enum amis2000_disassembler::e_mnemonics : unsigned { mLAB = 0, mLAE, mLAI, mLBE, mLBEP, mLBF, mLBZ, mXAB, mXABU, mXAE, mLAM, mXC, mXCI, mXCD, mSTM, mRSM, diff --git a/src/devices/cpu/cops1/cops1d.cpp b/src/devices/cpu/cops1/cops1d.cpp index ee7eb049504..8ccdcf8ac08 100644 --- a/src/devices/cpu/cops1/cops1d.cpp +++ b/src/devices/cpu/cops1/cops1d.cpp @@ -32,7 +32,7 @@ offs_t cops1_common_disassembler::increment_pc(offs_t pc) // common lookup tables -enum e_mnemonics : unsigned +enum cops1_common_disassembler::e_mnemonics : unsigned { mILL, mAD, mADD, mSUB, mCOMP, m0TA, mADX, mHXA, mTAM, mSC, mRSC, mTC, diff --git a/src/devices/cpu/e0c6200/e0c6200d.cpp b/src/devices/cpu/e0c6200/e0c6200d.cpp index 85505b96b43..adb324a1a79 100644 --- a/src/devices/cpu/e0c6200/e0c6200d.cpp +++ b/src/devices/cpu/e0c6200/e0c6200d.cpp @@ -12,7 +12,7 @@ // common lookup tables -enum e_mnemonics : unsigned +enum e0c6200_disassembler::e_mnemonics : unsigned { em_JP, em_RETD, em_CALL, em_CALZ, em_LD, em_LBPX, em_ADC, em_CP, em_ADD, em_SUB, em_SBC, em_AND, em_OR, em_XOR, @@ -22,7 +22,7 @@ enum e_mnemonics : unsigned em_NOT, em_SCF, em_SZF, em_SDF, em_EI, em_DI, em_RDF, em_RZF, em_RCF, em_ILL }; -enum e_params : unsigned +enum e0c6200_disassembler::e_params : unsigned { ep_S, ep_E, ep_I, ep_R0, ep_R2, ep_R4, ep_Q, ep_cC, ep_cNC, ep_cZ, ep_cNZ, diff --git a/src/devices/cpu/h8/h83217.cpp b/src/devices/cpu/h8/h83217.cpp index eac23419814..a26a0282ef4 100644 --- a/src/devices/cpu/h8/h83217.cpp +++ b/src/devices/cpu/h8/h83217.cpp @@ -72,7 +72,7 @@ h83202_device::h83202_device(const machine_config &mconfig, const char *tag, dev void h83217_device::map(address_map &map) { - if (m_md >= 2) + if(m_md >= 2) map(0x0000, m_rom_size - 1).rom(); map(0xff80 - m_ram_size, 0xff7f).view(m_ram_view); @@ -258,7 +258,7 @@ void h83217_device::syscr_w(u8 data) logerror("syscr = %02x\n", data); // RAME - if (data & 1) + if(data & 1) m_ram_view.select(0); else m_ram_view.disable(); diff --git a/src/devices/cpu/h8/h8325.cpp b/src/devices/cpu/h8/h8325.cpp index c18706b444b..69d93062c00 100644 --- a/src/devices/cpu/h8/h8325.cpp +++ b/src/devices/cpu/h8/h8325.cpp @@ -71,7 +71,7 @@ h8322_device::h8322_device(const machine_config &mconfig, const char *tag, devic void h8325_device::map(address_map &map) { - if (m_md >= 2) + if(m_md >= 2) map(0x0000, m_rom_size - 1).rom(); map(0xff80 - m_ram_size, 0xff7f).view(m_ram_view); @@ -225,7 +225,7 @@ void h8325_device::syscr_w(u8 data) logerror("syscr = %02x\n", data); // RAME - if (data & 1) + if(data & 1) m_ram_view.select(0); else m_ram_view.disable(); diff --git a/src/devices/cpu/h8/h8s2319.cpp b/src/devices/cpu/h8/h8s2319.cpp index 49bfcac7e73..480c7deed89 100644 --- a/src/devices/cpu/h8/h8s2319.cpp +++ b/src/devices/cpu/h8/h8s2319.cpp @@ -92,7 +92,7 @@ h8s2318_device::h8s2318_device(const machine_config &mconfig, const char *tag, d void h8s2319_device::map(address_map &map) { - if (m_rom_size && m_md >= 6) + if(m_rom_size && m_md >= 6) map(0x000000, m_rom_size - 1).rom(); map(0xfffc00 - m_ram_size, 0xfffbff).view(m_ram_view); @@ -375,7 +375,7 @@ void h8s2319_device::internal_update(u64 current_time) add_event(event_time, m_sci[1]->internal_update(current_time)); // SCI2 used by H8S-2329 - if (m_sci[2]) + if(m_sci[2]) add_event(event_time, m_sci[2]->internal_update(current_time)); add_event(event_time, m_timer8[0]->internal_update(current_time)); @@ -452,7 +452,7 @@ void h8s2319_device::syscr_w(u8 data) logerror("syscr = %02x\n", data); // RAME - if (data & 1) + if(data & 1) m_ram_view.select(0); else m_ram_view.disable(); diff --git a/src/devices/cpu/hmcs40/hmcs40d.cpp b/src/devices/cpu/hmcs40/hmcs40d.cpp index 87f270a10f0..cbf318eecce 100644 --- a/src/devices/cpu/hmcs40/hmcs40d.cpp +++ b/src/devices/cpu/hmcs40/hmcs40d.cpp @@ -38,7 +38,7 @@ hmcs40_disassembler::hmcs40_disassembler() // common lookup tables -enum e_mnemonics : unsigned +enum hmcs40_disassembler::e_mnemonics : unsigned { mILL, mLAB, mLBA, mLAY, mLASPX, mLASPY, mXAMR, diff --git a/src/devices/cpu/melps4/melps4d.cpp b/src/devices/cpu/melps4/melps4d.cpp index cb677ed3a41..656bef4eee0 100644 --- a/src/devices/cpu/melps4/melps4d.cpp +++ b/src/devices/cpu/melps4/melps4d.cpp @@ -15,7 +15,7 @@ // common lookup tables -enum e_mnemonics : unsigned +enum melps4_disassembler::e_mnemonics : unsigned { mILL, mTAB, mTBA, mTAY, mTYA, mTEAB, mTABE, mTEPA, mTXA, mTAX, diff --git a/src/devices/cpu/mn1400/mn1400d.cpp b/src/devices/cpu/mn1400/mn1400d.cpp index 7860845b3fb..ae22889279c 100644 --- a/src/devices/cpu/mn1400/mn1400d.cpp +++ b/src/devices/cpu/mn1400/mn1400d.cpp @@ -12,7 +12,7 @@ // common lookup tables -enum e_mnemonics : unsigned +enum mn1400_disassembler::e_mnemonics : unsigned { mILL, mILL2, mL, mLD, mLI, mLIC, mLDC, mST, mSTD, mSTIC, mSTDC, diff --git a/src/devices/cpu/pps41/pps41d.cpp b/src/devices/cpu/pps41/pps41d.cpp index 080c14769e0..70e1401f87a 100644 --- a/src/devices/cpu/pps41/pps41d.cpp +++ b/src/devices/cpu/pps41/pps41d.cpp @@ -32,7 +32,7 @@ offs_t pps41_common_disassembler::increment_pc(offs_t pc) // common lookup tables -enum e_mnemonics : unsigned +enum pps41_common_disassembler::e_mnemonics : unsigned { // MM76/shared mILL /* 0! */, diff --git a/src/devices/cpu/rw5000/rw5000d.cpp b/src/devices/cpu/rw5000/rw5000d.cpp index e0ca8bc5e56..5d76fdafff3 100644 --- a/src/devices/cpu/rw5000/rw5000d.cpp +++ b/src/devices/cpu/rw5000/rw5000d.cpp @@ -32,7 +32,7 @@ offs_t rw5000_common_disassembler::increment_pc(offs_t pc) // common lookup tables -enum e_mnemonics : unsigned +enum rw5000_common_disassembler::e_mnemonics : unsigned { mILL, mNOP, mRSC, mSC, mTC, mTAM, diff --git a/src/devices/cpu/sm510/sm510d.cpp b/src/devices/cpu/sm510/sm510d.cpp index c8e484073ca..5a4bbc8fc8f 100644 --- a/src/devices/cpu/sm510/sm510d.cpp +++ b/src/devices/cpu/sm510/sm510d.cpp @@ -46,7 +46,7 @@ offs_t sm510_common_disassembler::increment_pc(offs_t pc, u8 pclen) // common lookup tables -enum e_mnemonics : unsigned +enum sm510_common_disassembler::e_mnemonics : unsigned { // SM510 common mILL /* 0! */, mEXT, diff --git a/src/devices/cpu/tms1000/tms1k_dasm.cpp b/src/devices/cpu/tms1000/tms1k_dasm.cpp index b80afb1483f..745907f9377 100644 --- a/src/devices/cpu/tms1000/tms1k_dasm.cpp +++ b/src/devices/cpu/tms1000/tms1k_dasm.cpp @@ -84,7 +84,7 @@ offs_t tms1000_base_disassembler::pc_real_to_linear(offs_t pc) const // common lookup tables -enum e_mnemonics : unsigned +enum tms1000_base_disassembler::e_mnemonics : unsigned { mILL = 0, mAC0AC, mAC1AC, mACACC, mACNAA, mALEC, mALEM, mAMAAC, mBRANCH, diff --git a/src/devices/cpu/ucom4/ucom4d.cpp b/src/devices/cpu/ucom4/ucom4d.cpp index 7609340b60b..6b450c7fbc9 100644 --- a/src/devices/cpu/ucom4/ucom4d.cpp +++ b/src/devices/cpu/ucom4/ucom4d.cpp @@ -12,7 +12,7 @@ // common lookup tables -enum e_mnemonics : unsigned +enum ucom4_disassembler::e_mnemonics : unsigned { mILL, mLI, mL, mLM, mLDI, mLDZ, mS, mTAL, mTLA, |