<?xml version="1.0" encoding="utf-8" ?>
				<!-- generator="e107" -->
				<!-- content type="Forum / topic" -->
				<rdf:RDF xmlns="http://purl.org/rss/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
				<channel rdf:about="http://www.8051projects.net/">
				<title>8051 Microcontroller Projects AVR PIC Projects Tutorials Ebooks Libraries codes : Forum / topic</title>
				<link>http://www.8051projects.net/</link>
				<description>Learn to make simple microcontroller projects, pic, 8051, avr and arm projects. download 8051 projects, tutorials, libraries, sample codes. join the microcontroller discussion forum and ask doubts regarding electronics. the best source for 8051 over internet.</description>
				<dc:language>en-gb</dc:language>
				<dc:date>2009-01-08T05:03:57-08:00</dc:date>
				<dc:creator>contact@nospam.com</dc:creator>
				<admin:generatorAgent rdf:resource="http://e107.org" />
				<admin:errorReportsTo rdf:resource="mailto:contact@nospam.com" />
				<sy:updatePeriod>hourly</sy:updatePeriod>
				<sy:updateFrequency>1</sy:updateFrequency>
				<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
				<items>
				<rdf:Seq>
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t11744.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t11744.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t11744.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t11744.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t11744.html" />
				</rdf:Seq>
				</items>
				</channel>
						<item rdf:about="http://www.8051projects.net/forum-t11744.html">
						<title>doubts</title>
						<link>http://www.8051projects.net/forum-t11744.html</link>
						<dc:date>2009-01-08T05:03:57-08:00</dc:date>
						<dc:creator></dc:creator>
						<dc:subject></dc:subject>
						<description>What >> and &lt;&lt; do in C programming ??</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t11744.html">
						<title>Re: doubts</title>
						<link>http://www.8051projects.net/forum-t11744.html</link>
						<dc:date>2009-01-08T05:03:57-08:00</dc:date>
						<dc:creator>۞ TPS ۞</dc:creator>
						<dc:subject></dc:subject>
						<description>less then greater than</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t11744.html">
						<title>Re: doubts</title>
						<link>http://www.8051projects.net/forum-t11744.html</link>
						<dc:date>2009-01-08T05:03:57-08:00</dc:date>
						<dc:creator>nismo</dc:creator>
						<dc:subject></dc:subject>
						<description>۞ TPS ۞ wrote ...less then greater than Are you sure that it is greater or less than?? According to my textbook. >> means shift right and &lt;&lt; shift left. But i don know where to apply both of them and how are are used...</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t11744.html">
						<title>Re: doubts</title>
						<link>http://www.8051projects.net/forum-t11744.html</link>
						<dc:date>2009-01-08T05:03:57-08:00</dc:date>
						<dc:creator>pdi33</dc:creator>
						<dc:subject></dc:subject>
						<description>yes nismo,u are right. these are indeed left/right shift operators. The most general use of these operators in our embedded c programming is to set/clear an individual bit of a single byte.the left shift operator &lt;&lt; is used in this case.suppose u want to set the 'n' th bit of a register say reg1. then u can write the following instruction:reg1 |=(1&lt;&lt;n);similarly if u want to reset/clear a bit of the register u can use the instruction:reg1 &amp;=~(1&lt;&lt;n);this logic is extensively used in AVR programming as AVRs have only byte level operations unlike 8051 which supports bit level manipulations .the AVR library also included a macro _BV(n) which is equivalent to (1&lt;&lt;n) for this very reason.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t11744.html">
						<title>Re: doubts</title>
						<link>http://www.8051projects.net/forum-t11744.html</link>
						<dc:date>2009-01-08T05:03:57-08:00</dc:date>
						<dc:creator>shyam</dc:creator>
						<dc:subject></dc:subject>
						<description>pdi33  is rightx>>1   means the value of x be shifted one times towards rightlike in0000 0010 >>1   will give 0000 0001similarly,x</description>
						</item>
				</rdf:RDF>