add sp initialization to asm, made memory work at address multiples of 4 and proper size.