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
- Fall '08
- Local variable, appropriate save instruction