1. Engineering
  2. Computer Science
  3. assume a is an integer array with 100 elements a...

Question: assume a is an integer array with 100 elements a...

Question details

Assume A is an integer array with 100 elements. (a) Assume that the following assignment statements are run: A[3] 0x1122FFEE, where the prefix 0x means hexadecimal. Write the address and contents of memory locations for A[2] and A[3] in hex in the following diagram (each location is one byte). Assume that array A starts at address 0x00000010 (i.e., the base address of A or the address of Ap0] is 0x00000010). Assume that this is a hig endian machine. Addreas 0x00000010 0x00000012 Contents xAA OxBB OxlC 0x2F 0x55 0x44 0xFB (b) Based on the above memory after question (a), what is the result of the MIPS instruction u St 1.4(HO ifthe machine is in little-endian byte orders, where $t0-0x00000018. (i.e. what is the value of Stl).

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution