upd64031a_write
upd64031a_write(sd, R00, reg | 0x10);
upd64031a_write(sd, R00, reg & ~0x10);
upd64031a_write(sd, R00, r00);
upd64031a_write(sd, R05, r05);
upd64031a_write(sd, R08, r08);
upd64031a_write(sd, reg->reg & 0xff, reg->val & 0xff);
upd64031a_write(sd, i, state->regs[i]);