<?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>problems with hexidecimal values</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/14992/problems-with-hexidecimal-values</link><description> Greetings, a rookie here! 
 
I&amp;#39;m hoping that my problem will be borderline moronic, such that the problem will be easily solved and all I&amp;#39;ll need is a hit over the head! I&amp;#39;m rather new at encountering some of these problems! 
 
I am trying to set up</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: problems with hexidecimal values</title><link>https://community.arm.com/thread/84293?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2002 12:01:41 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:61bc8d3e-a297-48dc-a64d-b9650f424786</guid><dc:creator>Mark Odell</dc:creator><description>&lt;p&gt;Dan,&lt;br /&gt;
&lt;br /&gt;
I don&amp;#39;t think I can forgive such an egregious error.&lt;br /&gt;
&lt;br /&gt;
- Mark&lt;br /&gt;
&lt;br /&gt;
&amp;lt;joking of course&amp;gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problems with hexidecimal values</title><link>https://community.arm.com/thread/95118?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2002 04:22:48 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:99aa7d7b-c56d-484f-a526-472623406e03</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;i&gt;my posts continue to be an embarrassment... please read &amp;quot;its&amp;quot; as &amp;quot;it&amp;#39;s&amp;quot;.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Well, at least that goes to show that you do actually know the difference!  ;-)&lt;br /&gt;
 &lt;br /&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problems with hexidecimal values</title><link>https://community.arm.com/thread/84294?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2002 00:26:33 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:21824b8e-1df7-4ffb-9b77-3bfc2bbc6c5a</guid><dc:creator>Chad Rhynard</dc:creator><description>&lt;p&gt;THANK YOU DAN!!  I KNEW it had to be an easy fix, but unless you happen onto one of these &amp;#39;easy solutions&amp;#39;, the problems can sure be vexxing!  As for embarrassing posts, we&amp;#39;ve all had our share!  Never to worry!&lt;br /&gt;
&lt;br /&gt;
Much gratitude,&lt;br /&gt;
Chad&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problems with hexidecimal values</title><link>https://community.arm.com/thread/54557?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2002 23:52:08 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:5c74fadc-ebc8-481b-92be-b1f8075a93b0</guid><dc:creator>Dan Henry</dc:creator><description>&lt;p&gt;My humble and profound apologies, as my posts continue to be an embarrassment...&lt;br /&gt;
&lt;br /&gt;
In the last sentence of my previous post, please read &amp;quot;its&amp;quot; as &amp;quot;it&amp;#39;s&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problems with hexidecimal values</title><link>https://community.arm.com/thread/38986?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2002 23:39:48 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:bdcd09b6-6b7e-4b1d-b1e1-f2a0133bee6c</guid><dc:creator>Dan Henry</dc:creator><description>&lt;p&gt;An excerpt from page 84 of &amp;quot;Macro Assembler and Utilities -- User&amp;#39;s Guide 02.2001&amp;quot; (A51.pdf) which is &amp;quot;Chapter 3. Writing Assembly Programs&amp;quot; / &amp;quot;Expressions and Operators&amp;quot; / &amp;quot;Numbers&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&amp;quot;The first character of a number must be a digit between 0 and 9.  Hexadecimal numbers which do not have a digit as the first character should be prefixed with a 0. The Ax51 assembler supports also hex numbers written in C notation.&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
So, in the example you flagged with the asterisk, you would change that to:&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&amp;quot; db 0FFh ;Device Class&amp;quot;&lt;/pre&gt;
and do likewise for other hexadecimal values where its required and other hexadecimal values where its not required, but it suits your desire for consistency.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>