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: _________ (Use the formula, not an absolute value) b) Write the appropriate instructions to perform the following assignment statements. a = a; ________________________ ________________________ a = a; ________________________ ________________________ int *ptr; /* ptr mapped to %l2 */ ptr = &a; ________________________ ptr++; /* ptr mapped to %l2 */ ________________________ int x = *ptr; /* x mapped to %l0; ptr to %l2 */ ________________________ *ptr = x; /* x mapped to %l0; ptr to %l2 */ ________________________ #3. Write the equivalent expression the C compiler really uses for an array name. short a; a is equivalent to ___________________________________ ....
View Full Document
- Winter '08