Solving Hexadecimal Unsigned 8-bit Integer Multiplication

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 3K views
illidari
Messages
46
Reaction score
0

Homework Statement



a) 50 b) 23

Product of the hexadecimal unsigned 8-bit integers

Homework Equations



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

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 10011I somehow have an extra zero in both :(?
 
Last edited:
Physics news on Phys.org
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 :(?
 
illidari said:
Guessing they used octal in the solution manual screwing me up :(?

It's been known to happen :smile: