Question: Help please and start from dd please The table below shows the contents of several memory locations. Each location is identified by its address and
Help please and start from dd please The table below shows the contents of several memory locations. Each location is identified by its address and also by the name of the variable stored there. All numbers are shown in decimal. Variable Address Contents Variable Address Contents 1040 1056 1008 1032 1052 1000 1080 1020 1064 1044 1016 1076 1096 1084 1068 1004 1060 1036 1092 1012 1072 1048 2000 1024 1072 1048 2000 1012 1092 1036 1060 1080 1068 1000 1028 1076 1016 1088 1044 1064 1020 1080 1000 1052 1008 1056 Ll Using these values, evaluate each of the expressions below four ways. First, assume that all the variables are integers, and find the expressions R-value. Then find its L-value, and give the address of the location it specifies. Next, assume that all the variables are pointers to integers and repeat the exercise. Note: Do your address arithmetic based on four-byte integers and pointers. r. (r-t s.y> t. L1. w. Ct+ X. z. (q) aa. ++1q bb.+q The table below shows the contents of several memory locations. Each location is identified by its address and also by the name of the variable stored there. All numbers are shown in decimal. Variable Address Contents Variable Address Contents 1040 1056 1008 1032 1052 1000 1080 1020 1064 1044 1016 1076 1096 1084 1068 1004 1060 1036 1092 1012 1072 1048 2000 1024 1072 1048 2000 1012 1092 1036 1060 1080 1068 1000 1028 1076 1016 1088 1044 1064 1020 1080 1000 1052 1008 1056 Ll Using these values, evaluate each of the expressions below four ways. First, assume that all the variables are integers, and find the expressions R-value. Then find its L-value, and give the address of the location it specifies. Next, assume that all the variables are pointers to integers and repeat the exercise. Note: Do your address arithmetic based on four-byte integers and pointers. r. (r-t s.y> t. L1. w. Ct+ X. z. (q) aa. ++1q bb.+
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
