Click Los_PIC16F87X_MSSP_modo_SPI.pdf link to view the file.