<b>&ltpre&gt</b>
void SPI_out(int send,int l_add,int u_add) 
{ 
   DPH = u_add; 
   DPL = l_add; 
   SPDR = send; 
   while(SPSR != 0x80); 
}
<b>&lt/pre&gt</b>