Exemple #1
0
void v25_write_word(v25_state_t *nec_state, unsigned a, unsigned d)
{
    if( a & 1 )
    {
        v25_write_byte(nec_state, a, d & 0xff);
        v25_write_byte(nec_state, a + 1, d >> 8);
        return;
    }
Exemple #2
0
void v25_common_device::v25_write_word(unsigned a, uint16_t d)
{
	if (BIT(a, 0))
	{
		v25_write_byte(a, d);
		v25_write_byte(a + 1, d >> 8);
		return;
	}