Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Integer Multiplication

  1. Jul 31, 2011 #1
    1. The problem statement, all variables and given/known data

    a) 50 b) 23

    Product of the hexadecimal unsigned 8-bit integers

    2. Relevant equations

    Step Action |||||||||| Multiplicand ||||||| Product/Multiplier
    0 Initial Vals ||||||||| 101 000 ||||||| 000 000 010 011

    3. The attempt at a solution

    How did they get the initial values? 50 should be the multiplicand
    50 = 5*16 + 0*1 = 80
    80 = 1010000 in binary which is not 101 000

    23 hex = 35 decimal = 100011 binary ... does not equal 10011


    I somehow have an extra zero in both :(?
     
    Last edited: Jul 31, 2011
  2. jcsd
  3. Jul 31, 2011 #2

    gneill

    User Avatar

    Staff: Mentor

    Perhaps they meant octal rather than hex?
     
  4. Jul 31, 2011 #3
    a. 50 × 23
    Step Action--- Multiplier ----Multiplicand---- Product
    0 Initial Val ---010 011----- 000 000 101 000 ----000 000 000 000

    that was the previous question, unsigned octal 6 bit integers

    Guessing they used octal in the solution manual screwing me up :(?
     
  5. Jul 31, 2011 #4

    gneill

    User Avatar

    Staff: Mentor

    It's been known to happen :smile:
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook