Quiz 2 answer - Variable name Size in bytes Value(in hex v0...

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

View Full Document Right Arrow Icon
EE504 Quiz2: Memory Layout Spring  2008 A little-endian processor aligns all its data in memory on the 4-byte boundary.  Given the  following five variables v0 to v4, laid them out contiguously in the memory table, starting with v0  at memory location 0000048c.  Mark the unused bytes with ‘x’.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Variable name Size in bytes Value (in hex) v0 4 12345678 v1 1 ab v2 2 cdef v3 8 02468ace13579bdf v4 2 dead Address Word value 0000048c 78 56 34 12 00000490 ab x x x 00000494 ef cd x x 00000498 df 9b 57 13 0000049c ce 8a 46 02 000004a0 ad de x x 000004a4 x x x x 000004a8 x x x x 000004ac x x x x...
View Full Document

This note was uploaded on 01/19/2011 for the course EE EE504 taught by Professor Drlao during the Fall '10 term at College of the North Atlantic.

Ask a homework question - tutors are online