mirror of
https://github.com/holub/mame
synced 2025-05-05 13:54:42 +03:00
fix MULScc (nw)
This commit is contained in:
parent
b2fdf916af
commit
0a55a9e85b
@ -1008,7 +1008,7 @@ void mb86901_device::execute_mulscc(UINT32 op)
|
||||
*/
|
||||
UINT32 operand1 = (ICC_N != ICC_V ? 0x80000000 : 0) | (RS1REG >> 1);
|
||||
|
||||
UINT32 operand2 = (Y & 1) ? 0 : (USEIMM ? SIMM13 : RS2REG);
|
||||
UINT32 operand2 = (Y & 1) ? (USEIMM ? SIMM13 : RS2REG) : 0;
|
||||
|
||||
UINT32 result = operand1 + operand2;
|
||||
Y = ((RS1REG & 1) ? 0x80000000 : 0) | (Y >> 1);
|
||||
|
Loading…
Reference in New Issue
Block a user