Fully ported malloc.c to asm