wrote bits to dma register first