HI Diogo,
this has been discussed many times.
Read doc.txt and FAQ which can be found in msp430-libc/doc/

Briefly - in asm(...) statement you can write wharever you want wihch 
_assembler_ understands (gcc may complain though)

~d

On Monday 28 October 2002 17:47, dbrum wrote:
> Hi,
>
> is it possible in my asm("call XXXX"); XXXX be the address of a C
> function? Or even a jmp?
>
> Actually, what I would like to know is if it is possible to tell the
> compiler what address my C function starts. In that way, I could jmp to it
> using asm("jmp xxx");
> I don't intend to return from this function. It will stop the uC before
> ending the function.
>
> Is there a kind of ORG instruction in C?
>
>
>
>
>
> Thanks,
>   Diogo Brum
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users

-- 
/********************************************************************
     ("`-''-/").___..--''"`-._     (\   Dimmy the Wild      UA1ACZ
      `6_ 6  )   `-.  (     ).`-.__.`)  Enterprise Information Sys 
      (_Y_.)'  ._   )  `._ `. ``-..-'   Nevsky prospekt,   20 / 44
    _..`--'_..-_/  /--'_.' ,'           Saint Petersburg,   Russia
   (il),-''  (li),'  ((!.-'             +7 (812)  3468202, 5585314
 ********************************************************************/


Reply via email to