it is not.
the 'asm()' directive sets an alias for a declared variable.
In this case 'adc12' being aliased to the variable 0x01a0,
which is constant addressof.


On Monday 03 November 2003 23:27, J.C. Wren wrote:
>       Where in the GCC docs is it documented regarding the trailing 'asm
> (0x01a0");'?  I understand what it's doing, but not why, in a grammar
> context.
>
>       --John
>
>
> /* The adc12 declaration itself */
> struct {
>   adc12ctl0_t ctl0;
>   adc12ctl1_t ctl1;
>   adc12xflg_t ifg;
>   adc12xflg_t ie;
>   adc12xflg_t iv;
> } adc12 asm("0x01A0");
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?   SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users

-- 
/*****************************************************************
     ("`-''-/").___..--''"`-._     (\   Dimmy the Wild     UA1ACZ
      `6_ 6  )   `-.  (     ).`-.__.`)  State Polytechnical Univ.
      (_Y_.)'  ._   )  `._ `. ``-..-'   Radio-Physics Departament
    _..`--'_..-_/  /--'_.' ,'           Saint Petersburg,  Russia
   (il),-''  (li),'  ((!.-'             +7 (812) 5403923, 5585314
 *****************************************************************/


Reply via email to