nct_write_reg
nct_write_reg(sc, reg, group, *cache);
nct_write_reg(sc, REG_DAT, group, sc->cache.out[group]);