{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

chapter1-AppendixA-m2-ziavras

0 7 accesses in many computers must be byte aligned

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ime varies by operand location • Memory-memory computer NOT USED anymore – Most compact code. Large # of instr. formats compact code. Large of instr. formats * GPR: General-Purpose Register Some material is adapted from D. Culler & D. Patterson (UCB) S. Ziavras Memory Addressing How is a memory address interpreted? Byte (8 bits), half word (16), word (32), double word (64) • Byte order in a larger data object order larger data object – Little Endian: byte with address “x…x000” stored in least-significant position/byte (LSB) in double word (the little end) – Big Endian Endian 7 6 1 0 MSB (high address) 1 6 LSB (low addr.) 0 7 Accesses in many computers must be byte aligned to reduce hardware complexity in memory hardware complexity in memory Some material is adapted from D. Culler & D. Patterson (UCB) S. Ziavras Memory Addressing (2) Memory Addressing (2) • Given a 32-bit hex. value: 45A24B56 Mem. Addr. Big-endian 5670 45 5670 56 5671 A2 5671 4B 5672 5673 4B 56 Mem. Little-endian Addr. 5672 5673 A2 45 Byt...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern