Moving functions to asm file. Might not work at all, due to macro definitions.
Switch assembler to gcc, from as.