Question: - Given this set of variable MSP430 variable declarations: int8_t shortVal; // signed 8-bit int16_t longVal; // signed 16-bit a. (3) If shortVal - Ox5A,

- Given this set of variable MSP430 variable declarations: int8_t shortVal; // signed 8-bit int16_t longVal; // signed 16-bit a. (3) If shortVal - Ox5A, what is the numerical value of shortVal expressed in Decimal? b. (3) If shortval - Ox5A, express the result of longVal = shortval in Hexadecimal c. (3) If shortVal - OxA5, what is the numerical value of shortVal expressed in Decimal? d. (3) If shortVal = OxA5, express the result of longVal = shortval in Hexadecimal
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
