Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

(50 points) Assume the contents of memory are shown below. All values are in hex

ID: 3889728 • Letter: #

Question

(50 points) Assume the contents of memory are shown below. All values are in hexadecimal The table shows four bytes per line; the given address is the starting address of each line Each block in the table contains a single byte, with the low and high bytes per line indicated as shown. Each byte has its own address, so the byte at address 0x81114 is 0x69, address 0x81115 is 0xC8, address 0x81116 is 0xA1, and address O0x81117 is 0x54 You should assume all multi-byte values are stored in little-endian format A word is 16 bits (2 bytes). AddresS 0x81114 69 C8 A1 54 0x81118 F5 8A 9F D0 0x8111C E1 CD FE A3 0x81120 39 B8 11 6E 0x81124 4552 A4 C7 0x81128 63 D2 89 EA 0x8112C BB B5 4536 For each address and amount of data listed, answer the following What data are stored at that address . Would an access to the given amount of data at that address be aligned? . If the data represents a signed integer, what is the sign of that value? For example, given “Address: 0x81 1 14. Data size: word,', your response would be that the word at 0x81114 is 0xC869, the access is aligned, and the data represents a negative integer . * . . . Address: 0x8111C, Data size: word Address: 0x81125, Data size: byte Address: 0x8111B, Data size: double word Address: 0x81126, Data size: word Address: 0x81117, Data size: double word

Explanation / Answer

As words are stored in liiter endian format, least significant bits are stored first.

Address 0x8111C Data Size : word, Data is 0xCDE1 (1100 1101 1110 0001)2 so number is negative as MSB is 1 and memoery access is aligned

Address 0x81125, Data size : byte, Data value is 0x52, (0101 0010)2 so number is positive as MSB is 0 and memory access is aligned.

Address 0x8111B, Data Size:double word, Data value is 0xFECDE1D0, number is negative and memory acess is not aligned

Address 0x81126, Data Size word, Data value is 0xC7A4, number is negative, and memory access is aligned

Address 0x81117, Data Size double word, Data value is 0x9F8AF554, number is negative and memory access is not aligned