summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/e132xs/e132xsdrc_ops.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/e132xs/e132xsdrc_ops.hxx')
-rw-r--r--src/devices/cpu/e132xs/e132xsdrc_ops.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/e132xs/e132xsdrc_ops.hxx b/src/devices/cpu/e132xs/e132xsdrc_ops.hxx
index 01ba2347b4d..a5c3defdac1 100644
--- a/src/devices/cpu/e132xs/e132xsdrc_ops.hxx
+++ b/src/devices/cpu/e132xs/e132xsdrc_ops.hxx
@@ -1225,13 +1225,13 @@ void hyperstone_device::generate_cmpb(drcuml_block &block, compiler_state &compi
}
else
{
- UML_ADD(block, I2, I2, src_code);
+ UML_ADD(block, I2, I2, dst_code);
UML_AND(block, I2, I2, 0x3f);
UML_LOAD(block, I1, (void *)m_core->local_regs, I2, SIZE_DWORD, SCALE_x4);
}
UML_TEST(block, I1, I0);
- UML_SETc(block, uml::COND_NZ, I0);
+ UML_SETc(block, uml::COND_Z, I0);
UML_ROLINS(block, DRC_SR, I0, Z_SHIFT, Z_MASK);
}