Homework Help

How to use 9 bits numbers to change 137 to a binary number?

user profile pic

greyshipskin | Student, College Freshman | (Level 1) eNoter

Posted June 12, 2011 at 8:44 PM via web

dislike 1 like

How to use 9 bits numbers to change 137 to a binary number?

1 Answer | Add Yours

user profile pic

giorgiana1976 | College Teacher | (Level 3) Valedictorian

Posted June 12, 2011 at 8:52 PM (Answer #1)

dislike 1 like

We'll recall what 9 bit numbers means: the bits from 8 to 0 correspond to the following values: 256 ; 128 ; 64 ; 32 ; 16 ; 8 ; 4 ; 2 ; 1.

We'll subtract the value of each bit from 137 till we'll get a positive result. Then, we'll subtract the rest of the values of bits from the positive result. We'll carry on till the result of subtracting will return 0.

137 - 256 < 0 => bit 8 = 0

137 - 128 = 9 => bit 7 = 1

9 - 64 < 0 => bit 6 = 0

9 - 32 < 0= > bit 5 = 0

9 - 16 < 0 => bit 4 = 0

9 - 8 = 1 => bit 3 = 1

1 - 4 < 0 => bit 2 = 0

1 - 2 < 0 => bit 1 = 0

1 - 1 = 0 => bit 0 = 1

The binary for corresponding to the number 137 is: 010001001.

Join to answer this question

Join a community of thousands of dedicated teachers and students.

Join eNotes