

























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


























U Binary vs MultiLevel Digital
t
1
U
t
1
−
Zero Levels are Significant
Computer Logic is BINARY.
always “Clean”
NM (^) H = VOH min − VIH min NM (^) L = VIL max − VOL max
7
7
3 2 1 0 7
Decimal Binary Decimal Binary 0 0 13 1101 1 1 14 1110 2 10 15 1111 3 11 16 10000 4 100 17 10001 5 101 18 10010 6 110 19 10011 7 111 20 10100 8 1000 21 10101 9 1001 22 10110 10 1010 23 10111 11 1011 24 11000 12 1100 25 11001
192/2= 96 with a remainder of 0 96/2= 48 with a remainder of 0 48/2= 24 with a remainder of 0 24/2= 12 with a remainder of 0 12/2= 6 with a remainder of 0 6/2= 3 with a remainder of 0 3/2= 1 with a remainder of 1 1/2= 0 with a remainder of 1 Write down all the REMAINDERS, backwards , and you have the binary number 11000000.
Example: Successive Subtracts
Convert the decimal number 213 into a binary number. First find the largest number that is a power of 2 that you can subtract from the original number. Repeat the process until there is nothing left to subtract. 213 - 128 = 85 128’s (2^7 ) used 1 85 - 64 = 21 64’s (2 6 ) used 1 *(32 cannot be subtracted from 21) 32’s (2^5 ) used 0 21-16 = 5 16’s (2^4 ) used 1 *(8 cannot be subtracted from 5) 8’s (2^3 ) used 0 5 - 4= 1 4’s (2^2 ) used 1 *(2 cannot be subtracted from 1) 2’s (2 1 ) used 0 1-1 = 0 1’s (2^0 ) used 1 Write down the 0s & 1s from top to bottom , and you have the binary number 11010101.
write the values of the power of 2 above each binary number. Then add up the values where a 1
exists. Ex: 10110101 2 2 7 2 6 2 5 2 4 2 3 2 2 2 1 2 0
128 64 32 16 8 4 2 1
1 0 1 1 0 1 0 1
Successive Subtract
Figs Find
Conversions are not often need
**0. − 0 0x10 -
− 0.25 1x10 -
− 0.125 1x10 -
− 0 0x10 -
− 0.03125 1x10 -
− 0 0x10 -
− 0.007813 1x10 - 0.002937 rem**
16 run 0→15 in Decimal
13 10 in Base-16 (ONE Symbol) when we’re used to 0→9?
LETTERS to represent 10→
represent MAC (Media Access Control) for Internet
addresses for example
decimal number 16 3 16 2 16 1 16 0
4096 256 16 1
2 F 5 A