Multiplying by 5 and 10 with shifts and one addition

An 8-bit unsigned register holds x=000101102x = 00010110_2. A processor without a multiply instruction computes 5x5x as 4x+x4x + x, using a left shift by two places for 4x4x, and then computes 10x10x by shifting 5x5x left by one place. Find xx shifted left by two places, 5x5x and 10x10x, each as an 8-bit binary pattern including leading zeros, and give the decimal value of 10x10x 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 Binary Arithmetic Questions: