Re: Asm source code page?

"[email protected] [msp430]" <[email protected]> 18 Jan 2016 10:18:46 -0800
Newsgroups gmane.comp.hardware.texas-instruments.msp430.discuss
Message-ID <[email protected]>
--9nlWnTS9ocNmxdhsK3FKVLWiM6a5jwOaA8HvrLV
Content-Type:  text/plain;  charset=utf-8 
Content-Transfer-Encoding: base64

SSBoYXZlIG5vdCB2aXNpdGVkIGhlcmUgbXVjaCBvZiBsYXRlIC0gZ3Vlc3MgdGhlIGxhY2sg
b2YgcHJvamVjdHMgb3IgbmV3IHByb2Nlc3NvcnMgb3IgbGF6aW5lc3MoPykuDQoNCk5pY2Ug
dG8gSm9uIGFuZCBBbC0gYm90aCBvZiB3aG9tIGhhdmUgZ2l2ZW4gbWUgaW52YWx1YWJsZSBo
ZWxwIG92ZXIgdGhlIHllYXJzLg0KDQpJIHVzZSB0aGUgSUFSIGFzc2VtYmxlciB0b29scyBh
cyB3ZWxsLiBUaGUgYXJlIGZhc3QgWUFDQyBiYXNlZCB0b29scy4gSSB1c2UgdGhlbSBmb3Ig
dGhlIE1TUDQzMCwgODA1MSwgYW5kIFJlbmVzYXMgUlggZmFtaWx5LiAgTmljZSB0byBiZSBh
YmxlIHRvIHdvcmsgd2l0aCB0aGUgc2FtZSB0b29scyBzZXRzLiAgSSBkb24ndCB1c2UgdGhl
IElBUiBJREUgYXQgYWxsIG5vciB0aGVpciAuaCBmaWxlcy4gRm9yIGV2ZXJ5IHByb2R1Y3Qs
IEkgY3JlYXRlIHRoYXQgZGVmaW5lcyBldmVyeSByZWdpc3RlciwgZXZlcnkgYml0IGFuZCB1
c2VzIGEgZmFpciBhbW91bnQgb2YgQVNDSUkgZ3JhcGhpY3MuIFRoZSBpZGVhIGJlaGluZCB0
aGlzIGlzIHRoYXQgYXMgYW4gYXBwZW5kaXgsIGl0IGZvbGxvd3MgdGhlIHByb2R1Y3QgYW5k
IHNlcnZlcyB0byBjb21wbGV0ZSB0aGUgZG9jdW1lbnRhdGlvbi4gICBUaGUgY2hpZ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wbGUgc3RhY2sgcHVzaC9wb3AgaW5zdHJ1Y3Rpb25zLiAgQW5kIGl0
IGlzIHZlcnkgdXNlZnVsIHdoZW4gcG9ydGluZyBjb2RlLiAgIElmIEkgd2VyZSBtb3JlIGFt
Yml0aW91cywgSSB3b3VsZCBjcmVhdGUgYSBNZXRhLUFzc2VtYmx5IGxhbmd1YWdlIGFuZCB0
aGVuIGRlZmluZSB0aGUgT3Bjb2RlcyBmb3IgZWFjaCBtZW1iZXIgZmFtaWx5LiAgT2YgY291
cnNlIGEgZ29vZCBNYWNybyBjYXBhYmlsaXR5IGluIG1vc3QgYXNzZW1ibGVycyBjYW4gZG8g
dGhlIHNhbWUgdGhpbmcuDQoNClRoZSByZWFsIHJlYXNvbiBJIGNvZGUgZXhjbHVzaXZlbHkg
aW4gYXNzZW1ibGVyIGlzIHRoYXQgaXQgcmVhZHMgYmV0dGVyIHRvIG1lLiAgSXQgbWF0Y2hl
cyBteSB0aGlua2luZyBhbmQgYXBwZWFycyBwZXJmZWN0bHkgY2xlYXIuICBNYXliZSBpdCBp
cyBqdXN0IGEgbWVudGFsIGxpbWl0YXRpb24gb2YgbXkgcGFydCwgYnV0IEMgaXMganVzdCB0
b28gdWdseSB0byByZWFkIGFuZCBlYXNpbHkgZ2V0cyBvYmZ1c2NhdGVkIGJleW9uZCBjb21w
cmVoZW5zaW9uLiANCg0KQmxha2VseSBMYUNyb2l4DQpNaW5uZWFwb2xpcywgTWlubmVzb3Rh
LCBVU0E=

--9nlWnTS9ocNmxdhsK3FKVLWiM6a5jwOaA8HvrLV
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit





<head>

<style type="text/css">
<!--

/* start of attachment style */
       .ygrp-photo-title{
         clear: both;
         font-size: smaller;
         height: 15px;
         overflow: hidden;
         text-align: center;
         width: 75px;
       }
       div.ygrp-photo{
         background-position: center;
         background-repeat: no-repeat;
         background-color: white;
         border: 1px solid black;
         height: 62px;
         width: 62px;
       }

       div.photo-title 
         a,
         div.photo-title a:active,
         div.photo-title a:hover,
         div.photo-title a:visited {
           text-decoration: none; 
       }

       div.attach-table div.attach-row {
         clear: both;
       }

       div.attach-table div.attach-row div {
         float: left;
         /* margin: 2px;*/
       }

       p {
         clear: both;
         padding: 15px 0 3px 0;
	 overflow: hidden;
       }

       div.ygrp-file {
         width: 30px;
         valign: middle;
       }
       div.attach-table div.attach-row div div a {
         text-decoration: none;
       }

       div.attach-table div.attach-row div div span {
         font-weight: normal;
       }

       div.ygrp-file-title {
         font-weight: bold;
       }
 /* end of attachment style */
        -->
        </style>
        </head>
<html>
<head>
<style type="text/css">
<!--
#ygrp-mkp {
  border: 1px solid #d8d8d8;
  font-family: Arial;
  margin: 10px 0;
  padding: 0 10px;
}

#ygrp-mkp hr {
  border: 1px solid #d8d8d8;
}

#ygrp-mkp #hd {
  color: #628c2a;
  font-size: 85%;
  font-weight: 700;
  line-height: 122%;
  margin: 10px 0;
}

#ygrp-mkp #ads {
  margin-bottom: 10px;
}

#ygrp-mkp .ad {
  padding: 0 0;
}

#ygrp-mkp .ad p {
  margin: 0;
}

#ygrp-mkp .ad a {
  color: #0000ff;
  text-decoration: none;
}
-->
</style>
</head>
<body>



<!-- |**|begin egp html banner|**| -->

<br><br>

<!-- |**|end egp html banner|**| -->


I have not visited here much of late - guess the lack of projects or new processors or laziness(?).<br><br>Nice to Jon and Al- both of whom have given me invaluable help over the years.<br><br>I use the IAR assembler tools as well. The are fast YACC based tools. I use them for the MSP430, 8051, and Renesas RX family.&nbsp; Nice to be able to work with the same tools sets.&nbsp; I don&#39;t use the IAR IDE at all nor their .h files. For every product, I create that defines every register, every bit and uses a fair amount of ASCII graphics. The idea behind this is that as an appendix, it follows the product and serves to complete the documentation. &nbsp; The chief advantage I find is that you get a great exposure to the hardware and peripheral base that each processor family supports.&nbsp;
  And like much code, it becomes the template for subsequent additions to that family.&nbsp; The downside is that it takes a long time to create.&nbsp; I am working on the RX family now and some members there have a huge number of configuration registers.<br><br>Everything is done from command line invocation in (ALT - F9) UltraEdit with the result box popping up in the editor.<br><br>My fallback assembler is the X32 Universal Assembler - a table driven product that allows you to define your own Mnemonics and Opcodes.&nbsp; It can be expanded to add new instructions.&nbsp; I did this to extend their H8 tables to support the H8S family - most notably the STM and LDM multiple stack push/pop instructions.&nbsp; And it is very useful when porting code.&nbsp;&nbsp; If I were more ambitious, I 
 would create a Meta-Assembly language and then define the Opcodes for each member family.&nbsp; Of course a good Macro capability in most assemblers can do the same thing.<br><br>The real reason I code exclusively in assembler is that it reads better to me.&nbsp; It matches my thinking and appears perfectly clear.&nbsp; Maybe it is just a mental limitation of my part, but C is just too ugly to read and easily gets obfuscated beyond comprehension. <br><br>Blakely LaCroix<br>Minneapolis, Minnesota, USA



<!-- |**|begin egp html banner|**| -->

<br>


<br>

<!-- |**|end egp html banner|**| -->


<div width="1" style="color: white; clear: both;"/>__._,_.___</div>

      
  

    
    <div id="fromDMARC" style="clear:both; margin-top: 10px;">
         <hr style="height:2px ; border-width:0; color:#E3E3E3; background-color:#E3E3E3;">
         Posted by: [email protected]         <hr style="height:2px ; border-width:0; color:#E3E3E3; background-color:#E3E3E3;">
    </div>
<!-- Start Recommendations -->
<!-- End Recommendations -->


<!-- |**|begin egp html banner|**| -->

<br><br>
<tt>
To unsubscribe from the msp430 group, send an email to:<BR>
[email protected]<BR>
<BR>
</tt>
<br><br>

<!-- |**|end egp html banner|**| -->



<!-- |**|begin egp html banner|**| -->

  <img src="http://geo.yahoo.com/serv?s=97476590/grpId=2342629/grpspId=1705005378/msgId=52505/stime=1453141133" width="1" height="1"> <br>

<!-- |**|end egp html banner|**| -->

  
<!-- |**|begin egp html banner|**| -->

<br>



   
     
 
        <!-- |**|begin egp html banner|**| -->
        <div id="ygrp-vital" style="background-color: #f2f2f2; font-family: Verdana; font-size: 10px; margin-bottom: 10px; padding: 10px;">

        <span id="vithd" style="font-weight: bold; color: #333; text-transform: uppercase; "><a href="https://groups.yahoo.com/neo/groups/msp430/info;_ylc=X3oDMTJldXNpNDFvBF9TAzk3MzU5NzE0BGdycElkAzIzNDI2MjkEZ3Jwc3BJZAMxNzA1MDA1Mzc4BHNlYwN2dGwEc2xrA3ZnaHAEc3RpbWUDMTQ1MzE0MTEzMw--" style="text-decoration: none;">Visit Your Group</a></span>

     <ul style="list-style-type: none; margin: 0; padding: 0; display: inline;">
                                                    </ul>
  </div>


<div id="ft" style="font-family: Arial; font-size: 11px; margin-top: 5px; padding: 0 2px 0 0; clear: both;">
  <a href="https://groups.yahoo.com/neo;_ylc=X3oDMTJkYTMxc2JtBF9TAzk3NDc2NTkwBGdycElkAzIzNDI2MjkEZ3Jwc3BJZAMxNzA1MDA1Mzc4BHNlYwNmdHIEc2xrA2dmcARzdGltZQMxNDUzMTQxMTMz" style="float: left;"><img src="http://l.yimg.com/ru/static/images/yg/img/email/new_logo/logo-groups-137x15.png" height="15" width="137" alt="Yahoo! Groups" style="border: 0;"/></a>
  <div style="color: #747575; float: right;"> &bull; <a href="https://info.yahoo.com/privacy/us/yahoo/groups/details.html" style="text-decoration: none;">Privacy</a> &bull; <a href="mailto:[email protected]?subject=Unsubscribe" style="text-decoration: none;">Unsubscribe</a> &bull; <a href="https://info.yahoo.com/legal/us/yahoo/utos/terms/" style="text-decoration: none;">Terms of Use</a> </div>
</div>

<!-- |**|end egp html banner|**| -->

  </div> <!-- ygrp-msg -->

   


  <br>

<!-- |**|end egp html banner|**| -->


<div style="color: white; clear: both;"/>__,_._,___</div>
</body>

</html>

--9nlWnTS9ocNmxdhsK3FKVLWiM6a5jwOaA8HvrLV--