<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'how to display $ character in assembly' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'how to display $ character in assembly' posted on the 'Assembler Developer' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2012 Programmers Heaven</copyright>
    <pubDate>Wed, 23 May 2012 23:10:34 -0700</pubDate>
    <lastBuildDate>Wed, 23 May 2012 23:10:34 -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>how to display $ character in assembly</title>
      <link>http://www.programmersheaven.com/mb/pharabee/411259/411259/how-to-display--character-in-assembly/</link>
      <description>Hi, &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  May i know how should i display "$" character using INT21H function 09H?&lt;br /&gt;
&lt;br /&gt;
For example, "The total charge is $200"&lt;br /&gt;
&lt;br /&gt;
How should i write the coding?&lt;br /&gt;
&lt;br /&gt;
Thanks in advance.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pharabee/411259/411259/how-to-display--character-in-assembly/</guid>
      <pubDate>Sun, 27 Dec 2009 17:23:54 -0700</pubDate>
      <category>Assembler Developer</category>
    </item>
    <item>
      <title>Re: how to display $ character in assembly</title>
      <link>http://www.programmersheaven.com/mb/pharabee/411259/411262/re-how-to-display--character-in-assembly/#411262</link>
      <description>You can't print '$' using function 9, because '$' has to be the string terminator, but you can first print "The total charge is ", then use function 2 to print a single character:&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
mov  ah, 2
mov  dl, '$'
int  21h
&lt;/pre&gt;&lt;br /&gt;
and then print the "00". It's inconvenient, but probably the simplest way to do it in DOS.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pharabee/411259/411262/re-how-to-display--character-in-assembly/#411262</guid>
      <pubDate>Sun, 27 Dec 2009 17:52:15 -0700</pubDate>
      <category>Assembler Developer</category>
    </item>
    <item>
      <title>Re: how to display $ character in assembly</title>
      <link>http://www.programmersheaven.com/mb/pharabee/411259/411275/re-how-to-display--character-in-assembly/#411275</link>
      <description>oh ya ~ i should have thaught about that. Thanks ya, anthrax!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pharabee/411259/411275/re-how-to-display--character-in-assembly/#411275</guid>
      <pubDate>Sun, 27 Dec 2009 21:19:37 -0700</pubDate>
      <category>Assembler Developer</category>
    </item>
  </channel>
</rss>
