diff options
-rw-r--r-- | src/devices/cpu/bcp/dp8344.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/bcp/dp8344.cpp b/src/devices/cpu/bcp/dp8344.cpp index 5fa49d871c6..dcdfa9901ad 100644 --- a/src/devices/cpu/bcp/dp8344.cpp +++ b/src/devices/cpu/bcp/dp8344.cpp @@ -1616,13 +1616,13 @@ void dp8344_device::store_result() case 0x5000: m_source_data |= (m_latched_instr & 0x0ff0) >> 4; set_nz(m_source_data); - write_register(m_latched_instr & 0x000f, m_source_data + ((m_latched_instr & 0x0ff0) >> 4)); + write_register(m_latched_instr & 0x000f, m_source_data); break; case 0x6000: m_source_data ^= (m_latched_instr & 0x0ff0) >> 4; set_nz(m_source_data); - write_register(m_latched_instr & 0x000f, m_source_data + ((m_latched_instr & 0x0ff0) >> 4)); + write_register(m_latched_instr & 0x000f, m_source_data); break; case 0x7000: |