Re: Asm source code page?

"Onestone [email protected] [msp430]" <[email protected]> Tue, 12 Jan 2016 21:26:26 +1030
Newsgroups gmane.comp.hardware.texas-instruments.msp430.discuss
Message-ID <[email protected]>
--------------000009000509040109030400
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

Depending on the micro TIMER A has between 2 and 5 channels and the 
following interrupts available:_

overflow interrupt
TimerA0 interrupt
Generic interrupt for remaining 1-4 channels

Interrupt addresses may vary slightly between micros

Al

On 12/01/2016 8:08 PM, Craig Carmichael [email protected] [msp430] wrote:
> Wow, Thanks for all the replies!
>
> I ended up with NakenAsm because it was the first one I tried that
> worked for me on Ubuntu. Just run from a terminal.
>
> Back in the 'old days' I wrote two structured assemblers myself, for
> 6809 and 680x0. Among other features, branches could be structured to
> eliminate most labels, and you could group instructions on a line
> (separated by ";") to improve readability. Quick example, self
> explanatory I hope:
>
> test D1; SkipCS  |BCS to end brace (BCS on 68K = JCS on MSP)
> {
>    whatever
>    whatever more
>    dec D0; loopNE  |BNE to start brace
> }
>
> There were some other features too. Eg:
>
> move.w Table(A6),A0
>
>    could also be written as:
>
> A0.w = Table(A6)
>
> I have too many things to do to duplicate this work for MSP, but it
> made writing in Asm far easier.
>
> ---
>
> Originally the Easter Egg I was looking for was TimerA examples to
> generate 3 different frequencies of varying pulse widths, reloading
> the next ON or OFF time period for each in an ISR. The TAIV
> "interrupt vector" register seemed to only have TACCR1 and TACCR2 but
> not TACCR0. Now I think I see how that works - there seems to be a
> whole separate interrupt vector for TACCR0, at FFF2 (TA0) or FFFA
> (TA1) instead of FFF0 or FFF8 for all other timer interrupts.
>
> So theoretically now all I really need is to find the time to write
> several routines and hook up the hardware! It would still be nice to
> find that page, but you've given me some starting points, thanks.
>
> Craig
>
> =====
>
>> I have a very old document from 2001 with various notes and examples
>> in assembler, called APP_14306. there are loads of other app notes
>> (mostly older) that are in assembler, there are alos lots of files
>> posted on the yahoo group in assembler. What specifically are you
>> looking for? To learn assembler, a specific app note etc. I write
>> almost exclusively in assembler for most micros, including the
>> MSP430, but that seems to be rare enough for most manuafacturers,
>> including Ti to have stopped supporting the use of assembler in
>> their app notes.
>>
>> Al
>>
>> On 10/01/2016 5:17 PM, Craig Carmichael
>> <mailto:[email protected]>[email protected] [msp430] wrote:
>>
>>> Hi,
>>>
>>>
>>> In summer 2013 I found a web page full of what I remember as being
>>> dozens of MSP430 assembly source code files, probably all open
>>> source. I believe it was on a TI page. I downloaded and used the
>>> 16x16->32 bit multiply and 32/16 bit divide routines, and I thought I
>>> had carefully bookmarked this very special page. Now I can't find the
>>> bookmark, or the page in hours of searching. Anybody know where it
>>> is, or have any other ideas for web pages of sample code in Asm?
>>>
>>>
>>> Thanks,
>>> Craig
>>> http://www.TurquoiseEnergy.com/
>>>
>>>
>>> http://www.saers.com/recorder/craig/TENewsV2/ - Radiant energy
>>> project with MSP430G2553, issues #94, #95 (#96 next).
> =====
>
>
> ------------------------------------
> Posted by: Craig Carmichael <[email protected]>
> ------------------------------------
>
> To unsubscribe from the msp430 group, send an email to:
> [email protected]
>
>
> ------------------------------------
>
> Yahoo Groups Links
>
>
>
>


--------------000009000509040109030400
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>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">


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

<br><br>

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



    <font size="-1">Depending on the micro TIMER A has between 2 and 5
      channels and the following interrupts available:_<br>
      <br>
      overflow interrupt<br>
      TimerA0 interrupt<br>
      Generic interrupt for remaining 1-4 channels<br>
      <br>
      Interrupt addresses may vary slightly between micros<br>
      <br>
      Al<br>
    </font><br>
    <div class="moz-cite-prefix">On 12/01/2016 8:08 PM, Craig Carmichael
      <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> [msp430] wrote:<br>
    </div>
    <blockquote cite="mid:a06230905d2b84f1d282b@%5B192.168.0.14%5D"
      type="cite">
      <pre wrap="">Wow, Thanks for all the replies!

I ended up with NakenAsm because it was the first one I tried that 
worked for me on Ubuntu. Just run from a terminal.

Back in the 'old days' I wrote two structured assemblers myself, for 
6809 and 680x0. Among other features, branches could be structured to 
eliminate most labels, and you could group instructions on a line 
(separated by ";") to improve readability. Quick example, self 
explanatory I hope:

test D1; SkipCS  |BCS to end brace (BCS on 68K = JCS on MSP)
{
  whatever
  whatever more
  dec D0; loopNE  |BNE to start brace
}

There were some other features too. Eg:

move.w Table(A6),A0

  could also be written as:

A0.w = Table(A6)

I have too many things to do to duplicate this work for MSP, but it 
made writing in Asm far easier.

---

Originally the Easter Egg I was looking for was TimerA examples to 
generate 3 different frequencies of varying pulse widths, reloading 
the next ON or OFF time period for each in an ISR. The TAIV 
"interrupt vector" register seemed to only have TACCR1 and TACCR2 but 
not TACCR0. Now I think I see how that works - there seems to be a 
whole separate interrupt vector for TACCR0, at FFF2 (TA0) or FFFA 
(TA1) instead of FFF0 or FFF8 for all other timer interrupts.

So theoretically now all I really need is to find the time to write 
several routines and hook up the hardware! It would still be nice to 
find that page, but you've given me some starting points, thanks.

Craig

=====

</pre>
      <blockquote type="cite">
        <pre wrap="">I have a very old document from 2001 with various notes and examples 
in assembler, called APP_14306. there are loads of other app notes 
(mostly older) that are in assembler, there are alos lots of files 
posted on the yahoo group in assembler. What specifically are you 
looking for? To learn assembler, a specific app note etc. I write 
almost exclusively in assembler for most micros, including the 
MSP430, but that seems to be rare enough for most manuafacturers, 
including Ti to have stopped supporting the use of assembler in 
their app notes.

Al

On 10/01/2016 5:17 PM, Craig Carmichael 
<a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;mailto:[email protected]&gt;</a><a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> [msp430] wrote:

</pre>
        <blockquote type="cite">
          <pre wrap="">Hi,


In summer 2013 I found a web page full of what I remember as being
dozens of MSP430 assembly source code files, probably all open
source. I believe it was on a TI page. I downloaded and used the
16x16-&gt;32 bit multiply and 32/16 bit divide routines, and I thought I
had carefully bookmarked this very special page. Now I can't find the
bookmark, or the page in hours of searching. Anybody know where it
is, or have any other ideas for web pages of sample code in Asm?


Thanks,
Craig
<a class="moz-txt-link-freetext" href="http://www.TurquoiseEnergy.com/">http://www.TurquoiseEnergy.com/</a>


<a class="moz-txt-link-freetext" href="http://www.saers.com/recorder/craig/TENewsV2/">http://www.saers.com/recorder/craig/TENewsV2/</a> - Radiant energy
project with MSP430G2553, issues #94, #95 (#96 next).
</pre>
        </blockquote>
      </blockquote>
      <pre wrap="">
=====


------------------------------------
Posted by: Craig Carmichael <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a>
------------------------------------

To unsubscribe from the msp430 group, send an email to:
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>


------------------------------------

Yahoo Groups Links

&lt;*&gt; To visit your group on the web, go to:
    <a class="moz-txt-link-freetext" href="http://groups.yahoo.com/group/msp430/">http://groups.yahoo.com/group/msp430/</a>

&lt;*&gt; Your email settings:
    Individual Email | Traditional

&lt;*&gt; To change settings online go to:
    <a class="moz-txt-link-freetext" href="http://groups.yahoo.com/group/msp430/join">http://groups.yahoo.com/group/msp430/join</a>
    (Yahoo! ID required)

&lt;*&gt; To change settings via email:
    <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> 
    <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>

&lt;*&gt; To unsubscribe from this group, send an email to:
    <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>

&lt;*&gt; Your use of Yahoo Groups is subject to:
    <a class="moz-txt-link-freetext" href="https://info.yahoo.com/legal/us/yahoo/utos/terms/">https://info.yahoo.com/legal/us/yahoo/utos/terms/</a>


</pre>
    </blockquote>
    <br>
  



<!-- |**|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: Onestone &lt;[email protected]&gt;         <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=52490/stime=1452596232" 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=X3oDMTJlZGF1bjZpBF9TAzk3MzU5NzE0BGdycElkAzIzNDI2MjkEZ3Jwc3BJZAMxNzA1MDA1Mzc4BHNlYwN2dGwEc2xrA3ZnaHAEc3RpbWUDMTQ1MjU5NjIzMg--" style="text-decoration: none;">Visit Your Group</a></span>

     <ul style="list-style-type: none; margin: 0; padding: 0; display: inline;">
            <li style="border-right: 1px solid #000; font-weight: 700; display: inline; padding: 0 5px; margin-left: 0;">
      <span class="cat"><a href="https://groups.yahoo.com/neo/groups/msp430/members/all;_ylc=X3oDMTJmczYwOW4xBF9TAzk3MzU5NzE0BGdycElkAzIzNDI2MjkEZ3Jwc3BJZAMxNzA1MDA1Mzc4BHNlYwN2dGwEc2xrA3ZtYnJzBHN0aW1lAzE0NTI1OTYyMzI-" style="text-decoration: none;">New Members</a></span>
      <span class="ct" style="color: #ff7900;">1</span>
    </li>
                                              </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=X3oDMTJkNjJpMTM2BF9TAzk3NDc2NTkwBGdycElkAzIzNDI2MjkEZ3Jwc3BJZAMxNzA1MDA1Mzc4BHNlYwNmdHIEc2xrA2dmcARzdGltZQMxNDUyNTk2MjMy" 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>

--------------000009000509040109030400--