Hi Amol,
My advice is don't use assembly language for any more than you have to.
Write a C function, and embed in it just the actual assembly language
code you really need. Then the compiler will take care of all the messy
interfacing, and it does this efficiently. You can find examples of
doing this in the FAQ.
If you think you need assembly language just to build IRQ routines,
think again. All my interrupt routines are in pure C. I only use
assenbly language for accessing special things, like the BCD
instructions. Again, the manual and FAQ contain information on this.
Regards,
Steve
Amol Bhopale wrote:
Hi folks,
I am currently working on a project that needs some functions and
interrupt handlers to be coded in assembly. I am using mspgcc and
Insight debugger with TI's evaluation board revision 1.1 for msp430149.
I need help or some documentation on how to code and add assembly
files along with 'c' files in the project. Also my requirement is to
call assembly routines from 'c' functions and 'c' functions from
assembly routines.
Please help me on this problem.
Thanking you.
Amol.