



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Instructions for converting decimal numbers to binary and hexadecimal, as well as binary and hexadecimal numbers to decimal. It includes examples of each conversion process.
Typology: Study notes
1 / 7
This page cannot be seen from the preview
Don't miss anything!




z 146d = ????????b z 146/2 = 73 Remainder = 0 LSB (73) z 73/2 = 36 Remainder = 1 (36.5) z 36/2 = 18 Remainder = 0 (18) z 18/2 = 9 Remainder = 0 (9) z 9/2 = 4 Remainder = 1 (4.5) z 4/2 = 2 Remainder = 0 (2) z 2/2 = 1 Remainder = 0 (1) z 1/2 = 0 Remainder = 1 MSB (0.5) z 146d = 10010010b
{7, 4 and 1
z 1+1 = 10 (carry 1)
z 0+1 = 1
z 1+0 = 1
z 0+0 = 0
z 1+1+1=11 (carry 1)
z 1-1 = 0
z 1-0 = 1
z 0-1 = 1 (borrow)
z 0-0 = 0
z *) borrow
{0010100b = 20d {0101000b = 40d
{0000101b = 5d (remainder 0 shifted out) {0000010b = 2d (remainder 1 shifted out)
{OC(00111010b) = 11000101b