void mcs96_device::reg_w16(UINT8 adr, UINT16 data) { adr &= 0xfe; if(adr < 0x18) io_w16(adr, data); else R[(adr-0x18) >> 1] = data; }
void mcs96_device::reg_w16(uint8_t adr, uint16_t data) { adr &= 0xfe; if(adr < 0x18) io_w16(adr, data); else R[(adr-0x18) >> 1] = data; }