| Previous | 199869 Revisions | Next |
| r20270 Monday 14th January, 2013 at 20:55:39 UTC by Wilbert Pol |
|---|
| tlcs900.c: Fixed BIT operation on bytes for bit numbers > 7. (nw) |
| [src/emu/cpu/tlcs900] | 900tbl.c |
| r20269 | r20270 | |
|---|---|---|
| 1530 | 1530 | static void _BITBIR(tlcs900_state *cpustate) |
| 1531 | 1531 | { |
| 1532 | 1532 | cpustate->sr.b.l &= ~ ( FLAG_ZF | FLAG_NF ); |
| 1533 | if ( *cpustate->p2_reg8 & ( 1 << ( cpustate->imm1.b.l & 0x0 | |
| 1533 | if ( *cpustate->p2_reg8 & ( 1 << ( cpustate->imm1.b.l & 0x0f ) ) ) | |
| 1534 | 1534 | cpustate->sr.b.l |= FLAG_HF; |
| 1535 | 1535 | else |
| 1536 | 1536 | cpustate->sr.b.l |= FLAG_HF | FLAG_ZF; |
| Previous | 199869 Revisions | Next |