A 32-bit microcontroller has an inbuilt 20-bit ADC subsystem. The storage (i_32)
ID: 3604291 • Letter: A
Question
A 32-bit microcontroller has an inbuilt 20-bit ADC subsystem. The storage (i_32) allows for a signed left justified format in 2's complement. If the raw sampled value is the number 0xA5A, what is the signed storage value represented in hexadecimal?
Answer in hexadecimal. Exclude 0x prefix. Just type in the hexadecimal value. Use any appropriate uppercase alphabets in your hexadecimal.
A 32-bit microcontroller has an inbuilt 20-bit ADC subsystem. The storage (i_32) allows for a signed left justified format in 2's complement. If the raw sampled value is the number 0xA5A, what is the signed storage value represented in hexadecimal?
Answer in hexadecimal. Exclude 0x prefix. Just type in the hexadecimal value. Use any appropriate uppercase alphabets in your hexadecimal.
Explanation / Answer
0xA5A in left justified format in which remaining LSBs 20 bits are filled with 0
1010 0101 1010 0000 0000 0000 0000 0000
A 5 A
1’s complement
0101 1010 0101 1111 1111 1111 1111 1111
2’s complement
0101 1010 0111 1111 1111 1111 1111 1111
Hexadecimal
5A7FFFFF
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.