szemzoandras wrote: >Hello, > > >Is it possible to place a variable to a fixed memory location in gcc, >like in keil, i mean: > >unsigned int dd _at_ 0x81000000; > > > > FWIW, I wonder why Keil added an extension to their C compiler? I've been using "int * dd = ((unsigned int *)0x81000000)" for many many years. Not only with gcc, but other compilers as well. TomW -- Tom Walsh - WN3L - Embedded Systems Consultant http://openhardware.net, http://cyberiansoftware.com "Windows? No thanks, I have work to do..." ----------------------------------------------------
Message
Re: [lpc2000] fixed address variable
2005-11-09 by Tom Walsh