Re: C programming on ARM



Wilco Dijkstra wrote:

With any byte addressable architecture, a pointer is just a pointer.

But there are quite a few non-byte addressable architectures out there.
Including ARM, last I checked.

Actually most architectures are byte addressable, including ARM,

Depends on what exactly you mean by the term.

AFAIK ARM7 is byte-addressable only for bytes, but not for larger objects. Well, may be it's just me, but I wouldn't call what happens when an ARM7 accesses a 32-bit integer without 4-byte alignment "addressing".

.