Move DMA code to algorithms.asm