mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-11 10:30:09 +00:00
- Fix condition codes handling for BFINS instructions (uae 0.8.20)
This commit is contained in:
parent
e3e86a68a9
commit
eec091e56b
@ -2017,6 +2017,8 @@ static void gen_opcode (unsigned long int opcode)
|
||||
break;
|
||||
case i_BFINS:
|
||||
printf ("\ttmp = m68k_dreg(regs, (extra >> 12) & 7);\n");
|
||||
printf ("\tSET_NFLG (tmp & (1 << (width - 1)) ? 1 : 0);\n");
|
||||
printf ("\tSET_ZFLG (tmp == 0);\n");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user