|
|
On Mar 27, 6:11 am, jacob navia <ja...@xxxxxxxxxx> wrote:
> santosh wrote:
>
> > I don't really know, but you'll get an answer from one of the serious
> > language lawyers, but honestly, though it's good to know about such
> > stuff, I think you may be wasting your time here. I know of no
> > platforms where different pointer types are different, let alone
> > perversions worthy of the DS9k.
>
> Well, in general you are right but in embedded systems the
> situation can be different:
>
> In some systems (Analog devices 16 bit DSP)
> you have 24 bit pointers to EPROM (512K) and 16 bit
> pointers to RAM. Since character constants are
> stored in EPROM (there is more space), a char *
> can be different than a "normal" char pointer stored
> in RAM.
>
> The problem arises when you have architectures with
> a non linear address space (I think they are called "Harvard"
> architectures)
>
> --
> jacob navia
> jacob at jacob point remcomp point fr
> logiciels/informatiquehttp://www.cs.virginia.edu/~lcc-win32
Harvard Architecture is one in which code address space and data
address space are totally separate, not merely "non linear".
That was one of the great advances of computer development, to see
code and data as the same thing.
Ed
|
|