begin mmu asm function and io functions