Interfacing DMA controller with microprocessor