Assembler and spi driver fixed for compatibility with latest gcc.