Am 20.11.2010 23:43, schrieb Mark J. Blair:
> 
> First, how does emitting a constant value with the asm() directive
> result in assigning the specified address as the variable's location?

http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Asm-Labels.html#Asm-Labels

> Second, is there a means to use a preprocessor symbol to specify the
> address in one of these directives?

http://gcc.gnu.org/onlinedocs/cpp/Stringification.html

i.e. it should be possible to do this with the # operator in a macro.

chris

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to