<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>EmbLogic &#187; Himanshu Gupta</title>
	<atom:link href="https://www.emblogic.com/blog/author/himanshulkce/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.emblogic.com/blog</link>
	<description>Embedded System and ARM Training</description>
	<lastBuildDate>Tue, 03 Mar 2020 13:00:06 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.1</generator>
	<item>
		<title>Endianness</title>
		<link>https://www.emblogic.com/blog/06/endianness/</link>
		<comments>https://www.emblogic.com/blog/06/endianness/#comments</comments>
		<pubDate>Sun, 15 Jun 2014 12:20:19 +0000</pubDate>
		<dc:creator><![CDATA[Himanshu Gupta]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=10481</guid>
		<description><![CDATA[Big Endian In big endian, you store the most significant byte in the smallest address. Here&#8217;s how it would look: &#160; Address Value 1000 90 1001 AB 1002 12 1003 CD Little Endian In little endian, you store the least &#8230; <a href="https://www.emblogic.com/blog/06/endianness/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<h4><strong>Big Endian</strong></h4>
<p>In big endian, you store the most significant byte in the smallest address. Here&#8217;s how it would look:</p>
<p>&nbsp;</p>
<table border="2" cellpadding="3">
<tbody>
<tr>
<td align="center" bgcolor="pink">Address</td>
<td align="center" bgcolor="#aaffaa">Value</td>
</tr>
<tr>
<td align="center">1000</td>
<td align="center">90</td>
</tr>
<tr>
<td align="center">1001</td>
<td align="center">AB</td>
</tr>
<tr>
<td align="center">1002</td>
<td align="center">12</td>
</tr>
<tr>
<td align="center">1003</td>
<td align="center">CD</td>
</tr>
</tbody>
</table>
<h4><strong>Little Endian</strong></h4>
<p>In little endian, you store the <i>least</i> significant byte in the smallest address. Here&#8217;s how it would look:</p>
<p>&nbsp;</p>
<table border="2" cellpadding="3">
<tbody>
<tr>
<td align="center" bgcolor="pink">Address</td>
<td align="center" bgcolor="#aaffaa">Value</td>
</tr>
<tr>
<td align="center">1000</td>
<td align="center">CD</td>
</tr>
<tr>
<td align="center">1001</td>
<td align="center">12</td>
</tr>
<tr>
<td align="center">1002</td>
<td align="center">AB</td>
</tr>
<tr>
<td align="center">1003</td>
<td align="center">90</td>
</tr>
</tbody>
</table>
<p>Notice that this is in the reverse order compared to big endian. To remember which is which, recall whether the least significant byte is stored first (thus, little endian) or the most significant byte is stored first (thus, big endian).</p>
<p>Notice I used &#8220;byte&#8221; instead of &#8220;bit&#8221; in least significant bit. I sometimes abbreciated this as LSB and MSB, with the &#8216;B&#8217; capitalized to refer to byte and use the lowercase &#8216;b&#8217; to represent bit. I only refer to most and least significant byte when it comes to endianness.</p>
<p>Different ISAs use different endianness. While one way may seem more natural to you (most people think big-endian is more natural), there is justification for either one.</p>
<p>For example, DEC and IBMs(?) are little endian, while Motorolas and Suns are big endian. MIPS processors allowed you to select a configuration where it would be big or little endian.</p>
<p>Why is endianness so important? Suppose you are storing int values to a file, then you send the file to a machine which uses the opposite endianness and read in the value. You&#8217;ll run into problems because of endianness. You&#8217;ll read in reversed values that won&#8217;t make sense.</p>
<p>Endianness is also a big issue when sending numbers over the network. Again, if you send a value from a machine of one endianness to a machine of the opposite endianness, you&#8217;ll have problems. This is even worse over the network, because you might not be able to determine the endianness of the machine that sent you the data.</p>
<p>The solution is to send 4 byte quantities using <i>network byte order</i> which is arbitrarily picked to be one of the endianness (not sure if it&#8217;s big or little, but it&#8217;s one of them). If your machine has the same endianness as network byte order, then great, no change is needed. If not, then you must reverse the bytes.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/06/endianness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gcc Optimization level</title>
		<link>https://www.emblogic.com/blog/06/gcc-optimization-level/</link>
		<comments>https://www.emblogic.com/blog/06/gcc-optimization-level/#comments</comments>
		<pubDate>Tue, 10 Jun 2014 06:31:43 +0000</pubDate>
		<dc:creator><![CDATA[Himanshu Gupta]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=10435</guid>
		<description><![CDATA[Optimization Levels Without any optimization option, the compiler&#8217;s goal is to reduce the cost of compilation and to make debugging produce the expected results. Statements are independent: if you stop the program with a breakpoint between statements, you can then &#8230; <a href="https://www.emblogic.com/blog/06/gcc-optimization-level/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<h4 class="subsection">Optimization Levels</h4>
<p><a name="index-g_t_0040option_007b_002dO_007d-_0028_0040command_007bgcc_007d_0029-577"></a> Without any optimization option, the compiler&#8217;s goal is to reduce the cost of compilation and to make debugging produce the expected results. Statements are independent: if you stop the program with a breakpoint between statements, you can then assign a new value to any variable or change the program counter to any other statement in the subprogram and get exactly the results you would expect from the source code.</p>
<p>Turning on optimization makes the compiler attempt to improve the performance and/or code size at the expense of compilation time and possibly the ability to debug the program.</p>
<p>If you use multiple -O options, with or without level numbers, the last such option is the one that is effective.</p>
<p class="noindent">The default is optimization off. This results in the fastest compile times, but GNAT makes absolutely no attempt to optimize, and the generated programs are considerably larger and slower than when optimization is enabled. You can use the <samp><span class="option">-O</span></samp> switch (the permitted forms are <samp><span class="option">-O0</span></samp>, <samp><span class="option">-O1</span></samp> <samp><span class="option">-O2</span></samp>, <samp><span class="option">-O3</span></samp>, and <samp><span class="option">-Os</span></samp>) to <samp><span class="command">gcc</span></samp> to control the optimization level:</p>
<dl>
<dt><samp><span class="option">-O0</span></samp></dt>
<dd>No optimization (the default); generates unoptimized code but has the fastest compilation time.Note that many other compilers do fairly extensive optimization even if “no optimization” is specified. With gcc, it is very unusual to use -O0 for production if execution time is of any concern, since -O0 really does mean no optimization at all. This difference between gcc and other compilers should be kept in mind when doing performance comparisons.</p>
</dd>
<dt><samp><span class="option">-O1</span></samp></dt>
<dd>Moderate optimization; optimizes reasonably well but does not degrade compilation time significantly. </dd>
<dt><samp><span class="option">-O2</span></samp></dt>
<dd>Full optimization; generates highly optimized code and has the slowest compilation time. </dd>
<dt><samp><span class="option">-O3</span></samp></dt>
<dd>Full optimization as in <samp><span class="option">-O2</span></samp>; also uses more aggressive automatic inlining of subprograms within a unit (see Inlinning of Subprograms) and attempts to vectorize loops. </dd>
<dt><samp><span class="option">-Os</span></samp></dt>
<dd>Optimize space usage (code and data) of resulting program.</dd>
</dl>
<p class="noindent">Higher optimization levels perform more global transformations on the program and apply more expensive analysis algorithms in order to generate faster and more compact code. The price in compilation time, and the resulting improvement in execution time, both depend on the particular application and the hardware environment. You should experiment to find the best level for your application.</p>
<p>Since the precise set of optimizations done at each level will vary from release to release (and sometime from target to target), it is best to think of the optimization settings in general terms. See Option that control Optimization, for details about the <samp><span class="option">-O</span></samp> settings and a number of <samp><span class="option">-f</span></samp> options that individually enable or disable specific optimizations.</p>
<p>Unlike some other compilation systems, <samp><span class="command">gcc</span></samp> has been tested extensively at all optimization levels. There are some bugs which appear only with optimization turned on, but there have also been bugs which show up only in <em>unoptimized</em> code. Selecting a lower level of optimization does not improve the reliability of the code generator, which in practice is highly reliable at all optimization levels.</p>
<p>Note regarding the use of <samp><span class="option">-O3</span></samp>: The use of this optimization level is generally discouraged with GNAT, since it often results in larger executables which may run more slowly. See further discussion of this point in Inlinning of Subprograms<a href="http://gcc.gnu.org/onlinedocs/gcc-4.6.1/gnat_ugn_unw/Inlining-of-Subprograms.html#Inlining-of-Subprograms"><br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/06/gcc-optimization-level/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thread</title>
		<link>https://www.emblogic.com/blog/06/thread-3/</link>
		<comments>https://www.emblogic.com/blog/06/thread-3/#comments</comments>
		<pubDate>Mon, 09 Jun 2014 11:00:58 +0000</pubDate>
		<dc:creator><![CDATA[Himanshu Gupta]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=10427</guid>
		<description><![CDATA[What is a Thread? Technically, a thread is defined as an independent stream of instructions that can be scheduled to run as such by the operating system. But what does this mean?&#160; To the software developer, the concept of a &#8230; <a href="https://www.emblogic.com/blog/06/thread-3/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<h2>What is a Thread?</h2>
<ul>
<li>Technically, a thread is defined as an independent stream of instructions that can be scheduled to run as such by the operating system. But what does this mean?&nbsp;</li>
<li>To the software developer, the concept of a &#8220;procedure&#8221; that runs independently from its main program may best describe a thread.&nbsp;</li>
<li>To go one step further, imagine a main program (a.out) that contains a number of procedures. Then imagine all of these procedures being able to be scheduled to run simultaneously and/or independently by the operating system. That would describe a &#8220;multi-threaded&#8221; program.&nbsp;</li>
<li>How is this accomplished?</li>
</ul>
<ul>
<li>Before understanding a thread, one first needs to understand a UNIX process. A process is created by the operating system, and requires a fair amount of &#8220;overhead&#8221;. Processes contain information about program resources and program execution state, including:
<ul>
<li>Process ID, process group ID, user ID, and group ID</li>
<li>Environment</li>
<li>Working directory.</li>
<li>Program instructions</li>
<li>Registers</li>
<li>Stack</li>
<li>Heap</li>
<li>File descriptors</li>
<li>Signal actions</li>
<li>Shared libraries</li>
<li>Inter-process communication tools (such as message queues, pipes, semaphores, or shared memory).</li>
</ul>
<p>&nbsp;</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr valign="top">
<td><img src="https://computing.llnl.gov/tutorials/pthreads/images/process.gif" alt="Unix Process" width="450" height="406" border="0" /></td>
<td><img src="https://computing.llnl.gov/tutorials/pthreads/images/thread.gif" alt="Process-thread relationship" width="450" height="398" border="0" hspace="20" /></td>
</tr>
<tr valign="top">
<td align="center"><b>UNIX PROCESS</b></td>
<td align="center"><b>THREADS WITHIN A UNIX PROCESS</b></td>
</tr>
</tbody>
</table>
<p>&nbsp;</li>
<li>Threads use and exist within these process resources, yet are able to be scheduled by the operating system and run as independent entities largely because they duplicate only the bare essential resources that enable them to exist as executable code.&nbsp;</li>
<li>This independent flow of control is accomplished because a thread maintains its own:
<ul>
<li>Stack pointer</li>
<li>Registers</li>
<li>Scheduling properties (such as policy or priority)</li>
<li>Set of pending and blocked signals</li>
<li>Thread specific data.</li>
</ul>
<p>&nbsp;</li>
<li>So, in summary, in the UNIX environment a thread:
<ul>
<li>Exists within a process and uses the process resources</li>
<li>Has its own independent flow of control as long as its parent process exists and the OS supports it</li>
<li>Duplicates only the essential resources it needs to be independently schedulable</li>
<li>May share the process resources with other threads that act equally independently (and dependently)</li>
<li>Dies if the parent process dies &#8211; or something similar</li>
<li>Is &#8220;lightweight&#8221; because most of the overhead has already been accomplished through the creation of its process.</li>
</ul>
<p>&nbsp;</li>
<li>Because threads within the same process share resources:
<ul>
<li>Changes made by one thread to shared system resources (such as closing a file) will be seen by all other threads.</li>
<li>Two pointers having the same value point to the same data.</li>
<li>Reading and writing to the same memory locations is possible, and therefore requires explicit synchronization by the programmer.</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/06/thread-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Circular Queue</title>
		<link>https://www.emblogic.com/blog/03/circular-queue/</link>
		<comments>https://www.emblogic.com/blog/03/circular-queue/#comments</comments>
		<pubDate>Fri, 28 Mar 2014 17:39:41 +0000</pubDate>
		<dc:creator><![CDATA[Himanshu Gupta]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=9629</guid>
		<description><![CDATA[Figure of circular queue R-&#62;Rear F-&#62;Front Initially rear=front=0 Circular queue is as shown in figure it is like a array size in which element are from 0 to (n-1) if array is of length n it is divided into nodes &#8230; <a href="https://www.emblogic.com/blog/03/circular-queue/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p><img src="http://4.bp.blogspot.com/_JUL0qS1PLrk/R1ezoJi6tsI/AAAAAAAAACs/IApwdjWLnCY/s320/image038.gif" alt="" border="0" /></p>
<p>Figure of circular queue</p>
<p>R-&gt;Rear</p>
<p>F-&gt;Front</p>
<p>Initially rear=front=0</p>
<p>Circular queue is as shown in figure it is like a array size in which element are from 0 to (n-1) if array is of length n it is divided into nodes of equal size and and equal to number of size of queue.In this insertion is carried out from the rear node and deletion take place from front node.when we insert number rear moves to rear+1 and when we delete any element front moves to front-1 and when queue is filled the rear+1=front.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/03/circular-queue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FIFO</title>
		<link>https://www.emblogic.com/blog/03/fifo-7/</link>
		<comments>https://www.emblogic.com/blog/03/fifo-7/#comments</comments>
		<pubDate>Thu, 27 Mar 2014 16:07:01 +0000</pubDate>
		<dc:creator><![CDATA[Himanshu Gupta]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=9239</guid>
		<description><![CDATA[fifo is just similar to pipe as its second name suggest which is named pipe&#8230; In fifo and pipe first difference is pipe cannot be seen in directory but named pipe(fifo ) can be accessed or seen inside the pipe &#8230; <a href="https://www.emblogic.com/blog/03/fifo-7/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>fifo is just similar to pipe as its second name suggest which is named pipe&#8230; In fifo and pipe first difference is pipe cannot be seen in directory but named pipe(fifo ) can be accessed or seen inside the pipe and pipe cannot communicate between two seperate processes while at same time fifo can be used between two non relating processes which is having originated from same ancestors in the past.<br />
for creating fifo you need<br />
mkfifo(&#8220;fifo name &#8221; , mode in which you want to make pipe(for ex 777));<br />
fifo can be accessed in only one mode at a time that can be in read mode(O_RDONLY) or write mode(O_WRONLY) to get there file descriptor you just need to type a command<br />
readfd=open(&#8220;fifo name &#8220;, O_RDONLY)<br />
writefd=open(&#8220;fifo name &#8220;, O_WRONLY)<br />
so open command will return the file descriptor as demanded in the command and you can use it.<br />
if you open the read file descriptor in one process so you need to open file descriptor on other side in write mode otherwise it will be on blocking mode&#8230;..</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/03/fifo-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making Semaphore easy&#8230;</title>
		<link>https://www.emblogic.com/blog/03/making-semaphore-easy/</link>
		<comments>https://www.emblogic.com/blog/03/making-semaphore-easy/#comments</comments>
		<pubDate>Wed, 26 Mar 2014 16:33:00 +0000</pubDate>
		<dc:creator><![CDATA[Himanshu Gupta]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=9512</guid>
		<description><![CDATA[Semaphore is quiet easy and simple&#8230; Lets take an example from our real life which makes semaphore a simple task for me&#8230;. when we are using a printer on lan network and ten&#8217;s of computer are connected to the same &#8230; <a href="https://www.emblogic.com/blog/03/making-semaphore-easy/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Semaphore is quiet easy and simple&#8230;</p>
<p>Lets take an example from our real life which makes semaphore a simple task for me&#8230;.</p>
<p>when we are using a printer on lan network and ten&#8217;s of computer are connected to the same printer for printout so if anyone wants to get a printout he can give a command and get that but suppose there is a situation in which all the computers execute print command at the same time so how will printer control it so there need to be some protocol implementation to control the sequence otherwise what will happen if printer will access all the commands at the same time imagine yourself, It might be possible that all the picture get on the one paper. so we use some technique to control it. in this example critical condition is when computers are trying to access the printer. So there should be some condition before entering the critical region so that a single process will enter at one time and rest will be in the waiting condition till one is accessing so we implement the semaphore.</p>
<p>While implementing one need to have knowledge of three system calls:</p>
<p>semget();   //it is used to declare semaphore</p>
<p>semctl();    //it is used to initialize semaphore</p>
<p>semop();     // it is used to control condition before entering and leaving the semaphore</p>
<p>so now you need to think where to use what????&#8230; so we will implement according to its use as such if semget is for declaration so we need to declare it once and where you want to use semaphore.and also it returns sem_id that is generated by kernel which is required to access the semop command and for using semaphore in future.</p>
<p>and when it comes to semctl() it is used for initializing the semaphore and it will make the clients to see the condition and enter the semaphore so you need to enter it once at time of deceleration but it is not mandatory it may vary according to once need.</p>
<p>and semop() is used to decrease the operator value before executing statement after entering critical region and increment operator value again before leaning the critical region so that other can access it&#8230;.</p>
<p>see figure it will also help you to understand.</p>
<p><a href="http://www.emblogic.com/blog/03/making-semaphore-easy/blog3-2/" rel="attachment wp-att-9517"><img class="alignnone size-medium wp-image-9517" src="http://www.emblogic.com/blog/wp-content/uploads/2014/03/BLOG31-300x158.png" alt="" width="300" height="158" /></a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/03/making-semaphore-easy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Breif Discussion of fork ,pipe and execl.</title>
		<link>https://www.emblogic.com/blog/03/breif-discussion-of-fork-pipe-and-execl/</link>
		<comments>https://www.emblogic.com/blog/03/breif-discussion-of-fork-pipe-and-execl/#comments</comments>
		<pubDate>Tue, 25 Mar 2014 17:02:27 +0000</pubDate>
		<dc:creator><![CDATA[Himanshu Gupta]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=9456</guid>
		<description><![CDATA[Process:- Process is execution of set of statements in sequential way. Fork():-It is a system call that create a duplicate process of the process which is evoking the system call(fork). After the fork statement the remaining part of a process &#8230; <a href="https://www.emblogic.com/blog/03/breif-discussion-of-fork-pipe-and-execl/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Process:- Process is execution of set of statements in sequential way.</p>
<p>Fork():-It is a system call that create a duplicate process of the process which is evoking the system call(fork). After the fork statement the remaining part of a process is executed by two process if fork system call is used once. It creates one duplicate process with a new process id and and with parent process id same as that of process that is calling this system call. And program counter is given from where it is called. we can create as much process as we want in our project.As shown in Figure.<a href="http://www.emblogic.com/blog/03/breif-discussion-of-fork-pipe-and-execl/blog1/" rel="attachment wp-att-9457"><img src="http://www.emblogic.com/blog/wp-content/uploads/2014/03/blog1-300x190.png" alt="" width="300" height="190" /></a></p>
<p>Pipe:- Pipe is a virtual link between the two process that are related in past for communicating between them. Pipe is a size of ram that is maximum 64kb but at a time you can just write 4kb in it. Pipe is form of circular queue which create array of least file descriptors available. At 0 index of that array you will find a file descriptor for reading from the pipe and at 1 index file descriptor of writing data into the pipe is available you can use any file descriptor at a time.And once the data is read from the pipe it is deleted automatically. and if you are reading from the pipe you need to write from another process otherwise if writer is not available then pipe will go in read on block condition and it will wait till something is written in the pipe and similarly the case is for write on block if their is no one to read from pipe.<a href="http://www.emblogic.com/blog/03/breif-discussion-of-fork-pipe-and-execl/blog2-2/" rel="attachment wp-att-9459"><img class="alignnone size-medium wp-image-9459" src="http://www.emblogic.com/blog/wp-content/uploads/2014/03/blog21-300x158.png" alt="" width="300" height="158" /></a></p>
<p>Execl():- It is a statement which takes the execution process to other program given in its argument. And the current program is hijacked by other program.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/03/breif-discussion-of-fork-pipe-and-execl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comparison</title>
		<link>https://www.emblogic.com/blog/03/comparison/</link>
		<comments>https://www.emblogic.com/blog/03/comparison/#comments</comments>
		<pubDate>Fri, 21 Mar 2014 17:17:44 +0000</pubDate>
		<dc:creator><![CDATA[Himanshu Gupta]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=9236</guid>
		<description><![CDATA[Comparison between different processors currently in use.]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.emblogic.com/blog/03/comparison/comparison-3/" rel="attachment wp-att-9243"><img class="alignnone size-medium wp-image-9243" src="http://www.emblogic.com/blog/wp-content/uploads/2014/03/comparison2-300x215.png" alt="" width="300" height="215" /></a></p>
<p>Comparison between different processors currently in use.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/03/comparison/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vim editor</title>
		<link>https://www.emblogic.com/blog/02/vim-editor/</link>
		<comments>https://www.emblogic.com/blog/02/vim-editor/#comments</comments>
		<pubDate>Fri, 28 Feb 2014 17:55:34 +0000</pubDate>
		<dc:creator><![CDATA[Himanshu Gupta]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=8675</guid>
		<description><![CDATA[If any one of you want to get auto indenting while writing code in vim editor and if you are fed up of giving command again and again in every page go to /etc and than open file named vimrc &#8230; <a href="https://www.emblogic.com/blog/02/vim-editor/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>If any one of you want to get auto indenting while writing code in vim editor and if you are fed up of giving command again and again in every page go to</p>
<p>/etc</p>
<p>and than open</p>
<p>file named vimrc using vim editor by command</p>
<p>vim vimrc</p>
<p>shown in images file before change and after change is shown below.</p>

<a href='https://www.emblogic.com/blog/02/vim-editor/screenshot-from-2014-02-28-231955/'><img width="150" height="150" src="http://www.emblogic.com/blog/wp-content/uploads/2014/02/Screenshot-from-2014-02-28-231955-150x150.png" class="attachment-thumbnail" alt="Screenshot from 2014-02-28 23:19:55" /></a>
<a href='https://www.emblogic.com/blog/02/vim-editor/screenshot-from-2014-02-28-232014/'><img width="150" height="150" src="http://www.emblogic.com/blog/wp-content/uploads/2014/02/Screenshot-from-2014-02-28-232014-150x150.png" class="attachment-thumbnail" alt="Screenshot from 2014-02-28 23:20:14" /></a>

]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/02/vim-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Decompression</title>
		<link>https://www.emblogic.com/blog/02/decompression/</link>
		<comments>https://www.emblogic.com/blog/02/decompression/#comments</comments>
		<pubDate>Thu, 27 Feb 2014 06:59:48 +0000</pubDate>
		<dc:creator><![CDATA[Himanshu Gupta]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=8645</guid>
		<description><![CDATA[I have completed data decompression with functions and get the actual data back from the compress file.]]></description>
				<content:encoded><![CDATA[<p>I have completed data decompression with functions and get the actual data back from the compress file.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/02/decompression/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Completed data compression with making functions.</title>
		<link>https://www.emblogic.com/blog/02/completed-data-compression-with-making-functions/</link>
		<comments>https://www.emblogic.com/blog/02/completed-data-compression-with-making-functions/#comments</comments>
		<pubDate>Thu, 27 Feb 2014 06:55:13 +0000</pubDate>
		<dc:creator><![CDATA[Himanshu Gupta]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=8543</guid>
		<description><![CDATA[1 head 1.20; 2 access; 3 symbols; 4 locks 5 root:1.20; strict; 6 comment @ * @; 7 8 9 1.20 10 date 2014.02.24.18.01.15; author root; state Exp; 11 branches; 12 next 1.19; 13 14 1.19 15 date 2014.02.24.08.37.55; author &#8230; <a href="https://www.emblogic.com/blog/02/completed-data-compression-with-making-functions/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>  1 head    1.20;<br />
  2 access;<br />
  3 symbols;<br />
  4 locks<br />
  5         root:1.20; strict;<br />
  6 comment @ * @;<br />
  7<br />
  8<br />
  9 1.20<br />
 10 date    2014.02.24.18.01.15;    author root;    state Exp;<br />
 11 branches;<br />
 12 next    1.19;<br />
 13<br />
 14 1.19<br />
 15 date    2014.02.24.08.37.55;    author root;    state Exp;<br />
 16 branches;<br />
 17 next    1.18;<br />
 18<br />
 19 1.18<br />
 20 date    2014.02.23.07.20.48;    author root;    state Exp;<br />
 21 branches;<br />
 22 next    1.17;<br />
 23<br />
 24 1.17<br />
 25 date    2014.02.23.05.49.36;    author root;    state Exp;<br />
 26 branches;<br />
 27 next    1.16;<br />
 28<br />
 29 1.16<br />
 30 date    2014.02.23.05.14.59;    author root;    state Exp;<br />
 31 branches;<br />
 32 next    1.15;<br />
 33<br />
 34 1.15<br />
 35 date    2014.02.22.17.49.40;    author root;    state Exp;<br />
 36 branches;<br />
 37 next    1.14;<br />
 38<br />
 39 1.14<br />
 40 date    2014.02.22.17.26.29;    author root;    state Exp;<br />
 41 branches;<br />
 42 next    1.13;<br />
 43<br />
 44 1.13<br />
 45 date    2014.02.22.16.59.20;    author root;    state Exp;<br />
 46 branches;<br />
 47 next    1.12;<br />
 48<br />
 49 1.12<br />
 50 date    2014.02.22.04.00.20;    author root;    state Exp;<br />
 51 branches;<br />
 52 next    1.11;<br />
 53<br />
 54 1.11<br />
 55 date    2014.02.22.03.58.34;    author root;    state Exp;<br />
 56 branches;<br />
 57 next    1.10;<br />
 58<br />
 59 1.10<br />
 60 date    2014.02.22.03.03.06;    author root;    state Exp;<br />
 61 branches;<br />
 62 next    1.9;<br />
 63<br />
 64 1.9<br />
 65 date    2014.02.22.03.01.51;    author root;    state Exp;<br />
 66 branches;<br />
 67 next    1.8;<br />
 68<br />
 69 1.8<br />
 70 date    2014.02.22.02.58.57;    author root;    state Exp;<br />
 71 branches;<br />
 72 next    1.7;<br />
 73<br />
 74 1.7<br />
 75 date    2014.02.22.02.57.32;    author root;    state Exp;<br />
 76 branches;<br />
 77 next    1.6;<br />
 78<br />
 79 1.6<br />
 80 date    2014.02.22.02.56.24;    author root;    state Exp;<br />
 81 branches;<br />
 82 next    1.5;<br />
 83<br />
 84 1.5<br />
 85 date    2014.02.22.02.18.04;    author root;    state Exp;<br />
 86 branches;<br />
 87 next    1.4;<br />
 88<br />
 89 1.4<br />
 90 date    2014.02.22.02.16.24;    author root;    state Exp;<br />
 91 branches;<br />
 92 next    1.3;<br />
 93<br />
 94 1.3<br />
 95 date    2014.02.21.04.10.42;    author root;    state Exp;<br />
 96 branches;<br />
 97 next    1.2;<br />
 98<br />
 99 1.2<br />
100 date    2014.02.21.03.35.59;    author root;    state Exp;<br />
101 branches;<br />
102 next    1.1;<br />
103<br />
104 1.1<br />
105 date    2014.02.21.03.23.49;    author root;    state Exp;<br />
106 branches;<br />
107 next    ;<br />
108<br />
109<br />
110 desc</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/02/completed-data-compression-with-making-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project 01</title>
		<link>https://www.emblogic.com/blog/02/project-01-10/</link>
		<comments>https://www.emblogic.com/blog/02/project-01-10/#comments</comments>
		<pubDate>Sat, 22 Feb 2014 07:00:15 +0000</pubDate>
		<dc:creator><![CDATA[Himanshu Gupta]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=8467</guid>
		<description><![CDATA[Completed my master array declaring functions of each type.]]></description>
				<content:encoded><![CDATA[<p>Completed my master array declaring functions of each type.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/02/project-01-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Write a Program to calculate hcf and lcm of three numbers and also input number from user.</title>
		<link>https://www.emblogic.com/blog/02/write-a-program-to-calculate-hcf-and-lcm-of-three-numbers-and-also-input-numbers-from-user/</link>
		<comments>https://www.emblogic.com/blog/02/write-a-program-to-calculate-hcf-and-lcm-of-three-numbers-and-also-input-numbers-from-user/#comments</comments>
		<pubDate>Tue, 11 Feb 2014 18:02:11 +0000</pubDate>
		<dc:creator><![CDATA[Himanshu Gupta]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=8299</guid>
		<description><![CDATA[#include&#60;stdio.h&#62; int main() { int i,l,a,b,c; int lcm=1,hcf=1; int prime[26]={1,2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97}; printf(&#8220;enter the numbers&#8221;); scanf(&#8220;%d%d%d&#8221;,&#38;a,&#38;b,&#38;c); for(i=1;i&#60;26;i++) { l=prime[i]; if(a%l==0 &#38;&#38; b%l==0 &#38;&#38; c%l==0) { hcf*=l; } else { if(a%l==0) lcm*=l; if(b%l==0) lcm*=l; if(c%l==0) lcm*=l; } } } printf(&#8220;\nHcf of three number &#8230; <a href="https://www.emblogic.com/blog/02/write-a-program-to-calculate-hcf-and-lcm-of-three-numbers-and-also-input-numbers-from-user/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>#include&lt;stdio.h&gt;<br />
int main()<br />
{</p>
<p>int i,l,a,b,c;<br />
int lcm=1,hcf=1;<br />
int prime[26]={1,2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97};</p>
<p>printf(&#8220;enter the numbers&#8221;);<br />
scanf(&#8220;%d%d%d&#8221;,&amp;a,&amp;b,&amp;c);</p>
<p>for(i=1;i&lt;26;i++)<br />
{<br />
l=prime[i];<br />
if(a%l==0 &amp;&amp; b%l==0 &amp;&amp; c%l==0)<br />
{<br />
hcf*=l;<br />
}<br />
else<br />
{<br />
if(a%l==0)<br />
lcm*=l;</p>
<p>if(b%l==0)<br />
lcm*=l;</p>
<p>if(c%l==0)<br />
lcm*=l;<br />
}</p>
<p>}<br />
}</p>
<p>printf(&#8220;\nHcf of three number %d %d %d is %d&#8221;,a,b,c,hcf);<br />
lcm=lcm*hcf;<br />
printf(&#8220;\nLcm of three number %d %d %d is %d\n&#8221;,a,b,c,lcm);<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/02/write-a-program-to-calculate-hcf-and-lcm-of-three-numbers-and-also-input-numbers-from-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>how to install applications using .tar file ??</title>
		<link>https://www.emblogic.com/blog/02/how-to-install-applications-using-tar-file/</link>
		<comments>https://www.emblogic.com/blog/02/how-to-install-applications-using-tar-file/#comments</comments>
		<pubDate>Fri, 31 Jan 2014 19:06:16 +0000</pubDate>
		<dc:creator><![CDATA[Himanshu Gupta]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=8233</guid>
		<description><![CDATA[]]></description>
				<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/02/how-to-install-applications-using-tar-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
