Widening a signed sensor reading

A temperature sensor sends an 8-bit two's complement reading of 11110011211110011_2. The controller stores readings in 16-bit signed registers, so the byte must be widened before it is used. Give the decimal value of the 8-bit reading as a whole number. Then give the 16-bit pattern after sign extension, written as four hexadecimal digits. Finally, give the decimal value the 16-bit register would hold if the byte were wrongly zero-extended (padded with 0 bits), as a whole number.

Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Complement Representations of Numbers Questions: