This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

using #defines with asm


this works

asm(".long 0xABCDABCD");

but i want to use #defines
eg

#define VALUE

asm(".long VALUE"); 
that will obviosly not work, does anyone know how to get it to work?
--
View this message in context: http://www.nabble.com/using+-defines+with+asm-t1686557.html#a4575436
Sent from the gcc - Help forum at Nabble.com.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]