mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
romp: fix divide step carry and overflow flags
This commit is contained in:
parent
398d998881
commit
50ef9017fa
@ -714,6 +714,8 @@ void romp_device::execute_run()
|
||||
break;
|
||||
case 0xb6: // d: divide step
|
||||
{
|
||||
m_scr[CS] &= ~(CS_C | CS_O);
|
||||
|
||||
s64 sum = (s64(s32(m_gpr[R2])) << 1) | (m_scr[MQ] >> 31);
|
||||
|
||||
if (BIT(m_gpr[R2], 31) == BIT(m_gpr[R3], 31))
|
||||
|
Loading…
Reference in New Issue
Block a user