On Nov 20, 2010, at 3:32 PM, Chris Liechti wrote:
> http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Asm-Labels.html#Asm-Labels

Aha! So, when the directive is used in this way, it's telling the 
compiler+assembler to simply cram the numeric constant in place of the symbol 
name? This would also explain why I'm getting undefined reference errors now 
from another module which references the USB-RAM-resident structures. I'm 
learning lots of stuff here, but I still have more experimentation ahead of me 
to find a nice, clean way to port this particular code. Maybe I'm better off 
just treating them as externs in the C code, and defining the symbols for 
linkage purposes in an assembler code file.


> http://gcc.gnu.org/onlinedocs/cpp/Stringification.html
> 
> i.e. it should be possible to do this with the # operator in a macro.

Thank you!



-- 
Mark J. Blair, NF6X <n...@nf6x.net>
Web page: http://www.nf6x.net/
GnuPG public key available from my web page.





------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to