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; ________________________ ________________________ int *ptr; /* ptr mapped to %l4 */ ptr = &a; ________________________ ++ptr; /* ptr mapped to %l4 */ ________________________ int d = *ptr; /* d mapped to %l2; ptr to %l4 */ ________________________ *ptr = d; /* d mapped to %l2; ptr to %l4 */ ________________________ #3. Give the equivalent C array expression for the following pointer expression assuming a is defined as an array. a is equivalent to _____________________________ (equivalent array expression)....
View Full Document
- Fall '08
- Local variable, appropriate save instruction