<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Software Hardware Interface...' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Software Hardware Interface...' posted on the 'Computer Hardware' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Wed, 19 Jun 2013 08:11:33 -0700</pubDate>
    <lastBuildDate>Wed, 19 Jun 2013 08:11:33 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Software Hardware Interface...</title>
      <link>http://www.programmersheaven.com/mb/hardware/372816/372816/software-hardware-interface/</link>
      <description>Hey, you all computer hardware loving guys,,,,,,,Please help me, boy solving my spurious doubts.....&lt;br /&gt;
&lt;br /&gt;
Q1:-How hardwired programming and microprograaming takes place...?&lt;br /&gt;
     [I'd read before that, miroprogramming is used to get the required      o/p from hardware, without disturbing it]&lt;br /&gt;
&lt;br /&gt;
Q:- what is the diff b/n Assembly language and C language?&lt;br /&gt;
         [difference regarding their application]&lt;br /&gt;
&lt;br /&gt;
Q:- Can I use C lang. for microcontrol programming?&lt;br /&gt;
&lt;br /&gt;
Q:- Is there any interface b/n Hardware and Software?&lt;br /&gt;
&lt;br /&gt;
    Plz help me? I have many more doubts.......&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/hardware/372816/372816/software-hardware-interface/</guid>
      <pubDate>Sun, 22 Jun 2008 07:09:51 -0700</pubDate>
      <category>Computer Hardware</category>
    </item>
    <item>
      <title>Re: Software Hardware Interface...</title>
      <link>http://www.programmersheaven.com/mb/hardware/372816/372821/re-software-hardware-interface/#372821</link>
      <description>: Hey, you all computer hardware loving guys,,,,,,,Please help me, boy &lt;br /&gt;
: solving my spurious doubts.....&lt;br /&gt;
: &lt;br /&gt;
: Q1:-How hardwired programming and microprograaming takes place...?&lt;br /&gt;
:      [I'd read before that, miroprogramming is used to get the &lt;br /&gt;
: required      o/p from hardware, without disturbing it]&lt;br /&gt;
&lt;br /&gt;
Microprograms are written in a very low assembly language (microcode) that is specific to the microcontroller. It is stored in the chip's dye, normally in a control store memory area executed by the chip. As microcode is very specific to the chip, it either implements a macrocode or an instruction set for the chip (depending on how complex the microcode is).&lt;br /&gt;
&lt;br /&gt;
What software sees to control the chip is the instruction set that has now been created.&lt;br /&gt;
&lt;br /&gt;
: Q:- what is the diff b/n Assembly language and C language?&lt;br /&gt;
:          [difference regarding their application]&lt;br /&gt;
&lt;br /&gt;
C is very portable and can be used on many different types of computer systems--from PCs, Macs, game consoles, PDAs, cell phones, all the way to supercomputers.&lt;br /&gt;
&lt;br /&gt;
Assembly is very non-portable and is specific to the device it is used for. ie, perhaps a PC architecture. (As it is with x86 assembly language.) It is usually used where high level languages cannot be used (Special instructions (ie, LGDT, LIDT, etc), binary programs (bootloaders), ..)&lt;br /&gt;
&lt;br /&gt;
: Q:- Can I use C lang. for microcontrol programming?&lt;br /&gt;
&lt;br /&gt;
I never seen it, no. Its useually done in microcode.&lt;br /&gt;
&lt;br /&gt;
: Q:- Is there any interface b/n Hardware and Software?&lt;br /&gt;
&lt;br /&gt;
Of course, else it would not be possible for software to control hardware. The interface is specific to the architecture though.&lt;br /&gt;
&lt;br /&gt;
On the x86 architecture (Most PCs), the architecture implements port mapped I/O, which allows us to access hardware controller registers from software instructions (IN and OUT).&lt;br /&gt;
&lt;br /&gt;
For example, taken from my bootloader written in x86 assembly language, the following code gets the status of the keyboard by reading the onboard keyboard controllers status register mapped to I/O address 0x60 by the POST hardware initialization:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;.KKbrdCntrlGetStat2:
	xor		ax, ax		; clear ax
	in		al, 60h		; read in status byte&lt;/pre&gt;&lt;br /&gt;
&lt;hr /&gt;&lt;span style="font-size: xx-small;"&gt;&amp;#91;.:EvolutionEngine&amp;#93;&amp;#91;.:MicroOS Operating System&amp;#93;&amp;#91;&lt;a href="http://www.brokenthorn.com"&gt;Website :: OS Development Series&amp;#93;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/hardware/372816/372821/re-software-hardware-interface/#372821</guid>
      <pubDate>Sun, 22 Jun 2008 08:23:21 -0700</pubDate>
      <category>Computer Hardware</category>
    </item>
    <item>
      <title>Re: Software Hardware Interface...</title>
      <link>http://www.programmersheaven.com/mb/hardware/372816/372884/re-software-hardware-interface/#372884</link>
      <description>: : Q:- Can I use C lang. for microcontrol programming?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If this refers to &lt;em&gt;microcontrollers&lt;/em&gt; (MCU), as in a small CPU with memory and peripheral I/O modules on-chip, then yes, C is the most widely used language for such apps. Assembler is becomming more and more rare, since it is non-portable. The microcontroller manufacturers nowadays spit out hundreds of new parts every year, and the pace is only quickening. This means that micros also become obsolete quicker, so the need of portable programs is higher than ever in this area.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/hardware/372816/372884/re-software-hardware-interface/#372884</guid>
      <pubDate>Wed, 25 Jun 2008 03:49:43 -0700</pubDate>
      <category>Computer Hardware</category>
    </item>
    <item>
      <title>This post has been deleted.</title>
      <link>http://www.programmersheaven.com/mb/hardware/372816/375154/this-post-has-been-deleted/#375154</link>
      <description>This post has been deleted.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/hardware/372816/375154/this-post-has-been-deleted/#375154</guid>
      <pubDate>Thu, 11 Sep 2008 18:34:27 -0700</pubDate>
      <category>Computer Hardware</category>
    </item>
  </channel>
</rss>