<?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>how to program when i need two 82c55</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/37497/how-to-program-when-i-need-two-82c55</link><description> 
When I use one 82c55. I can define as follow: 
#define D8255A XBYTE[0xeffc] 
#define D8255B XBYTE[0xeffd] 
#define D8255C XBYTE[0xeffe] 
#define C8255 XBYTE[0xefff] 
Now I need to use two chips of 82c55. 
And how can I to define their address? 
Thank</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: how to program when i need two 82c55</title><link>https://community.arm.com/thread/48862?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2007 23:56:16 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:3e9dbcce-0771-4c83-8160-a82d1a9e7e40</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;&amp;quot;how can I to define their address?&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
The address is defined by your &lt;i&gt;&lt;b&gt;hardware&lt;/b&gt;&lt;/i&gt; - it has
absolutely nothing to do with the software tools!&lt;/p&gt;

&lt;p&gt;
The software simply needs to use whatever addresses have been
allocated by the hardware!&lt;/p&gt;

&lt;p&gt;
BTW: You might want to consider using &lt;b&gt;_at_&lt;/b&gt; to create proper
variables, rather than the XBYTE macros...&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>