comp.lang.c
[Top] [All Lists]

Re: void * vs. T *

Subject: Re: void * vs. T *
From: jacob navia
Date: Thu, 27 Mar 2008 18:09:58 +0100
Newsgroups: comp.lang.c


Flash Gordon wrote:
jacob navia wrote, On 27/03/08 15:37:
Ed Prochak wrote:
Harvard Architecture is one in which code address space and data
address space are totally separate, not merely "non linear".


The EPROM is in a totally different bus, but you can put
as well code or data in both parts of memory.

Whether it is EPROM, ROM or RAM is irrelevant. In a Harvard Architecture code and data are separate address address spaces.

The wiki says:
Harvard architectures are also frequently used in:

The wiki correctly refers to separate pathways for code and data, you did not read it correctly.

I CAN read. EPROM is normally used for code, and RAM for
data. But that distinction is blurred if you store
constant data in EPROM, for instance (as I said)
constant character strings or tables, whatever.

This is also used in other processors when character
strings are stored with the code...


--
jacob navia
jacob at jacob point remcomp point fr
logiciels/informatique
http://www.cs.virginia.edu/~lcc-win32

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy