Help on C (absolute Addressing)

Status
Not open for further replies.

sacrpio

Member level 3
Joined
May 24, 2004
Messages
56
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
500
Hello,
I wanted to know that is it possible in ANSI C, declaration & initialisation of a variable on a particular address (absolute address). If then How?
Thanks in Advance!!!!!
 

Maybe, maybe not. The ANSI C standard leaves that choice up to the platform/OS/compiler.

A quick Google search turned up this good answer. Pay careful attention to the last two paragraphs:
https://groups.google.com/groups?selm=6at3km$id6$1@lyra.csx.cam.ac.uk

If you tell us your platform, your compiler, and exactly what you are trying to access, then someone here may know if that simple pointer access will do what you want, or if some other method is needed.
 

see this links

**broken link removed**


**broken link removed**
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…