<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>spi</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/24360/spi</link><description> 
SPDAT IS NOT DISPLAYING THE VALUE IT HAVE RECIEVED IN THE
SIMULATOR 

 
I hav written the comments plz go through it. 

 
#include &amp;lt;REG51xD2.H&amp;gt; 

 
void SPI(unsigned char); 

 
void sdelay(int ); 
void main(void) 
{ 

 
EA=1; 
SPSTA=0x00; 
SPCON=0xd6;</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator></channel></rss>