This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: b) Write the appropriate instructions to perform the following assignment statements. a = a; ________________________ ________________________ a = a; ________________________ ________________________ short *ptr; /* ptr mapped to %l4 */ ptr = &a; ________________________ ++ptr; /* ptr mapped to %l4 */ ________________________ short d = *ptr; /* d mapped to %l2; ptr to %l4 */ ________________________ *ptr = d; /* d mapped to %l2; ptr to %l4 */ ________________________ #3. Give the equivalent C pointer expression for the following array expression assuming a is defined as an array. a is equivalent to _____________________________ (equivalent pointer expression)....
View Full Document
This note was uploaded on 08/31/2011 for the course CSE 30 taught by Professor Ord during the Fall '08 term at UCSD.
- Fall '08