l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
October 7: Social gathering
Next Installfest:
TBD
Latest News:
Aug. 18: Discounts to "Velocity" in NY; come to tonight's "Photography" talk
Page last updated:
2010 Jun 22 20:04

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] Memory addressing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] Memory addressing?



Can someone confirm what is correct? 

Tim and I were discussing memory addressing at Crepeville last night
and we had a disagreement about how memory is addressable. I say that
on today's common intel i386 32 bit architecture (in case you are one of
those souls who builds your hardware from scratch), that memory is byte
(octet) addressable. You can load a byte from memory into the lower 8
bits of a register. Tim says that memory is only addressable on 32 bit
word boundaries.

Say you look at memory in bits and then on the left is the memory
address. 

I say that memory is normally byte addressable and the addressing
corresponds to byte (octet) boundaries.

Address  bits
0        0     7      15     23     31
3        0     7      15     23     31
7        0     7      15     23     31
11       0     7      15     23     31
15       0     7      15     23     31

Tim says that memory is only 32 bit word addressable 

Address  bits
0        0     7      15     23     31
1        0     7      15     23     31
2        0     7      15     23     31
3        0     7      15     23     31
4        0     7      15     23     31


-- 
Brian Lavender
http://www.brie.com/brian/

"There are two ways of constructing a software design. One way is to
make it so simple that there are obviously no deficiencies. And the other
way is to make it so complicated that there are no obvious deficiencies."

Professor C. A. R. Hoare
The 1980 Turing award lecture
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.