trunk/src/emu/cpu/lr35902/opc_main.inc
| r31080 | r31081 | |
| 24 | 24 | { \ |
| 25 | 25 | register UINT16 r = x << 8 | y; \ |
| 26 | 26 | if (++y == 0) x++; \ |
| 27 | | if (!m_incdec16_func.isnull()) \ |
| 28 | | m_incdec16_func(r << 16 | x << 8 | y); \ |
| 27 | m_incdec16_func(r << 16 | x << 8 | y); \ |
| 29 | 28 | } |
| 30 | 29 | |
| 31 | 30 | #define DEC_16BIT(x,y) \ |
| 32 | 31 | { \ |
| 33 | 32 | register UINT16 r = x << 8 | y; \ |
| 34 | 33 | if (--y == 0xff) x--; \ |
| 35 | | if (!m_incdec16_func.isnull()) \ |
| 36 | | m_incdec16_func(r << 16 | x << 8 | y); \ |
| 34 | m_incdec16_func(r << 16 | x << 8 | y); \ |
| 37 | 35 | } |
| 38 | 36 | |
| 39 | 37 | #define ADD_HL_RR(x) \ |