Hi Scott,
I see...
Thanks a lot, now I`m using pointers and things are going well.
Best regards,
Emme.
--- Quote Start ---
originally posted by smcnutt@Nov 21 2006, 05:12 PM
hi emme,
> note that i want to put the variable in some fixed location, not in some section
> like .text,.rodata et., or provided the allocation in a section, i want the freedom to
> choose the address within that memory.
the compiler puts variables, code, etc. into sections ... there's no choice in this matter other than
specifying a compiler output section ... so, if you want to do things at run time, you'll have to use a
pointer:
alt_u8 *pdummybyte = (alt_u8 *) 0x0080000;
or something similar.
regards,
--scott
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19563)
--- quote end ---
--- Quote End ---