Fw: Assembly Programming, not inline

View: New views
2 Messages — Rating Filter:   Alert me  

Fw: Assembly Programming, not inline

by TonyB-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
As I understand, there is a fully functioning assembler (msp430-as) as part of the mspgcc package. However, I have been unable to find any information on this tool, and little on the unported version of as. I would be interested in learning more about assembly programming, especially since I'll be migrating toward DSPs in the coming years.
 
Can anyone recommend good resources for learning this assembler? I haven't even found sample code that works in gcc (just the MSP samples for IAR and CCE, which I've had problems porting). I would love to include assembler sources alongside my C sources for some functions that would really benefit from some human optimization.

TonyB
 
 
 

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@...
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Re: Fw: Assembly Programming, not inline

by Chris Liechti :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

TonyB schrieb:
>
> As I understand, there is a fully functioning assembler (msp430-as) as
> part of the mspgcc package.

and if you want to program assembler with preprocessor support it's
common to call gcc. it will select the right language based on file type.

 > However, I have been unable to find any
> information on this tool, and little on the unported version of as. I

the "gas" (gnu assembler) manual can be found on the binutils homepage.
yes there is a "documentation" link hidden somewhere on the homepage ;-)

in documenations.html/txt in CVS/pagagin respectively in the strat menu
if you used the windows installer has links on it too.

the mspgcc manual (PDF) also contains some words about assembler

> would be interested in learning more about assembly programming,
> especially since I'll be migrating toward DSPs in the coming years.

heh, the MSP430 is relatively easy to program in assembly. DSP sometimes
have very complex instructions. but the MSP430 is a good start.

> Can anyone recommend good resources for learning this assembler? I
> haven't even found sample code that works in gcc (just the MSP samples
> for IAR and CCE, which I've had problems porting). I would love to

check out the mspgcc examples they are installed by the windows
installer and can be found in our CVS repository. some application notes
have been ported and there are some other exaples that use assembler in
one or the other way. search for the ".S" files.

> include assembler sources alongside my C sources for some functions that
> would really benefit from some human optimization.

the mspgcc manual has some details about that. to some extent you'll
also find documentation in the gcc manual.

chris

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@...
https://lists.sourceforge.net/lists/listinfo/mspgcc-users
LightInTheBox - Buy quality products at wholesale price