Re: Asm source code page?

"Craig Carmichael [email protected] [msp430]" <[email protected]> Tue, 12 Jan 2016 01:38:06 -0800
Newsgroups gmane.comp.hardware.texas-instruments.msp430.discuss
Message-ID <a06230905d2b84f1d282b@[192.168.0.14]>
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]