memory address

logistic_guy

Full Member
Joined
Apr 17, 2024
Messages
424
here is the question

What memory address (\(\displaystyle 0\) through \(\displaystyle 256\)) is represented by each of the following hexadecimal numbers?

(a) \(\displaystyle 0C_{16}\)
(b) \(\displaystyle 5E_{16}\)
(c) \(\displaystyle DF_{16}\)


my attemb
hexadecimal number don't use digits after \(\displaystyle 9\), it use letters from \(\displaystyle A\) to \(\displaystyle F\)
\(\displaystyle A = 10\)
\(\displaystyle B = 11\)
\(\displaystyle C = 12\)
\(\displaystyle D = 13\)
\(\displaystyle E = 14\)
\(\displaystyle F = 15\)

so

\(\displaystyle 0C_{16} = 0 + 12 = 12\)
\(\displaystyle 5E_{16} = 5 + 14 = 19\)
\(\displaystyle DF_{16} = 13 + 15 = 28\)

is my solution correct?😕
 
Come on... does 75 = 7+5?

You are looking for 16 times the first digit plus the 2nd digit just like base ten is 10 times the first digit plus the 2nd digit (in a 2 digit base ten number)
 
thank

Come on... does 75 = 7+5?
it depend on what you're calculating. is \(\displaystyle 75\) base \(\displaystyle 8\), \(\displaystyle 10\), or something else?

You are looking for 16 times the first digit plus the 2nd digit just like base ten is 10 times the first digit plus the 2nd digit (in a 2 digit base ten number)
you're saying my calculating should be

\(\displaystyle 0C_{16} = 0\times 16 + 12 = 12\)
\(\displaystyle 5E_{16} = 5\times 16 + 14 = 80 + 14 = 94\)
\(\displaystyle DF_{16} = 13\times 16 + 15 = 208 + 15 = 223\)

i don't understand why you multiply the first digit by \(\displaystyle 16\)☹️ why not the second digit?
 
thank


it depend on what you're calculating. is \(\displaystyle 75\) base \(\displaystyle 8\), \(\displaystyle 10\), or something else?


you're saying my calculating should be

\(\displaystyle 0C_{16} = 0\times 16 + 12 = 12\)
\(\displaystyle 5E_{16} = 5\times 16 + 14 = 80 + 14 = 94\)
\(\displaystyle DF_{16} = 13\times 16 + 15 = 208 + 15 = 223\)

i don't understand why you multiply the first digit by \(\displaystyle 16\)☹️ why not the second digit?

Work a few problems in base 10 and then see if you can figure out what I told you w/regard to base 16.
 
Top