Solving Hexadecimal Unsigned 8-bit Integer Multiplication

AI Thread Summary
The discussion revolves around the multiplication of hexadecimal unsigned 8-bit integers, specifically the values 50 and 23. There is confusion regarding the initial values provided, as the conversion from hexadecimal to binary appears incorrect; 50 in hex should convert to 80 in decimal and 1010000 in binary, not 101 000. The user also points out discrepancies in the conversion of 23 from hex to decimal and binary, suggesting that the solution manual might have mistakenly used octal instead of hexadecimal. This confusion highlights the importance of accurate base conversions in mathematical problems. The thread emphasizes the need for clarity in homework solutions to avoid misunderstandings.
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
Perhaps they meant octal rather than hex?
 
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:
 
Back
Top