Question: Please give detailed explanation QUESTION 15 points What would be the change in the memory after executing all the instructions? int* pi Declaration: int a

QUESTION 15 points What would be the change in the memory after executing all the instructions? int* pi Declaration: int a [6]; Arrays are adjacent locations in memory storing the same type of data object Indexing a[0] - 0x0158; a (array name) returns the array's address a[5] = a[0]; ta (1) is the address of a [0] plus i times No bounds a[6) - OXBAD; the element size in bytes checking: a(-1) - OXBAD; DO 01 02 03 Out Ox5 DE OX7 Pointers Od 0x9 OxA OBOCOND ONE OF OX00 p - ga(0); Ox08 AD OB 00 00 *p - OxB; a [0] 0x10 SF010000 a[2] Ox18 a[4) 0x20 5F01 00 00 p - p+3; 0x28 AD OB 00 00 Ox30 Ox38 P Ox40 Ox48 o the value stored in a[0] would be the same the value stored in a(5) will change the value stored in a[0] would be 00 00 00 0B the value stored in address Ox40 will be 10 00 00 00 00 00 00 00 the value stored in address 0x40 will be 00 00 00 00 00 00 00 10 QUESTION 17 Whis is NOT correct regarding the following processorimemory diagram? i-cache instructions take 469 Memory data CPU registers Data movement cannot be bidirectional Instruction movement cannot be bidirectional Cache should be inside the memory Registers should be inside the memory There is nothing wrong 5 points QUESTION 18 What is the output of Exclusive OR A operator on 01101001? 00110 1110 1111 1100 0110
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
