Hex Concatenation

24 views
Skip to first unread message

Saifas

unread,
Dec 10, 2009, 2:24:59 PM12/10/09
to utexas-cs352-fall2009
Is there an error in the book on page 714? It concatenates x0D with
x14 and gets x354. I get x1B4. Would someone take a look please, and
let me know what you get, and what I am doing wrong. I do other
concatenation problems, and get them right just fine.

Kelvin

unread,
Dec 10, 2009, 2:31:44 PM12/10/09
to utexas-cs352-fall2009
00 1101 = 0x0d

01 0100 = 0x14

so together they're 00 1101 01 0100 which can also be 0011 0101 0100
or 0x354

-Kelvin
Reply all
Reply to author
Forward
0 new messages