Answered step by step
Verified Expert Solution
Question
1 Approved Answer
What would be the change in the memory after executing the 6th instruction? 1. int x, y; 2. x = 0; 3. y = 0x3CD02700;
What would be the change in the memory after executing the 6th instruction? 1. int x, y; 2. x = 0; 3. y = 0x3CD02700; 4. X = y + 3; 5. int* z &y + 1; 6. *2 = y; & = "address of" * = "dereference" 32-bit example (pointers are 32-bits wide) 0x000x01 Ox02 0x03 Ox00 Ox04 03 27 DO 3C X Ox08 OxOC Ox10 0x14 0x18 00 27 DO 30 Y Ox1c 0x20 0x24 N the value stored in z would be the same as x the value stored in z would be the same as y O the value stored in address 0x24 will be the same as y the value stored in address 0x1C will be the same as y the value stored in address ox20 will be the same as y QUESTION 2 What is the result of 10 - 14 inside the processor? O 1111 1101 O 1111 0100 O 1111 0110 O 1111 1100 O 1111 0101
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started