move initial memory to asm.