Professional Documents
Culture Documents
Digital Electronics L3 and L4
Digital Electronics L3 and L4
O ectmat apim
eSvhaxy ayalimn
Heac.elecimal aplomm
Htxadkeimcl sltDn
CD) n) (n) (3} (1«) (iS)
deame p
cerpctespdtss
How to cone a gwen nto
conept ob lae valu
clekumaÅ OxI+0x1o+1xD'+D*1D° = 1Q
CID)
Heacclseummel IX16 xlb- 166
CI6)
Th coee de mas
nbrosemladten
ofnwmten
6 dhgnla cedlA
Haacdacumal
reume = 10 ehguh hTh ho callbel
caho
dugu
brono.a
Blancy=2
Hexacleumul - aSa16 ttm
6
aysttm
Bunar Ba
Hiaaclumul to lvnany cowemLo
2 -16
n Hiacceeleeinal nunbur upxestit-
ach drgtln digt
4 nany ltt
(30 6)H
3 00
D-13= |1O
6 O1ID
o1O
.' 3D.u= O OIDI.
b.6u =( o1.0)
To Heotaekomerl comarstDn
Binay
2 =16
cugto tarm one huaacll cumnl
xoup ob 4 birey
dug (1OIo. 101101) = u
:6E.04)
O.1 OD
14
6
Octal Numbr Ayaltm
Ockal
Vaed dagils: QL2,7456
+0x8'+0X8 &
oobccal 0x8540x3
Sinevey conwuslovn
Octal
3 uneog
in odtal rumlber lem axsUnks
ach cugt
digts
nc eawalerik)
, = F unc da
(3 S. 6) 1
S O
(3 5.6)
ney
(35.6)g =Uio.),
numbex Aysum
Rmau to Dtel cori
(10 1
110.1023 = ()1
oital
in oiial
digit. in
orxeoponeda to one dhgit
nwmle
numlbe
dugis
3wne
Aysim
42010.10
102 00
O0 D
S
S
= (1 56. S4)R
101110. 2011),
dialhue=
ztprent ntgawe numlng n comaule
How to
negawe no
uhe haw do we zpraant
9n ceal
- ID
nunlben.
T
cuclel - Agn
ehor anel 3
ancd
t
UR
aprentel
xpruentic
wohng
wephng a mpdee
comstlee
Com
un omputi chgel
Houuwe exusts m
ymbal that wyUhem
dfbecent
numlb tn
aloresal aclelng
use o wey o
hocors, comuntonally
da ue
skat
bekora tha
ntmb *pretmterlon o
uo tyhe luneunmg
Thre are onsiclkr 8 t
computtz
n dat us
Agneel ncw4
Bvnvcuo,
tegutrels nmie
Ungnel.
Numbn
bt
Magnuuede bto.
(MS 13)
Magnuhee
sgn
MAB
24 0 0 o ooo= -1
+22
Ob1 O
O =
-2Z
O1 II1) 5 + 12
-2
to +(23-_1)]
Rarye -1n? To +12 -e°-)
0 xtpweiltdl uwe O00o ooo
16 0 0
aduu4
'and2's conmslumend: To spresnt neyite no
T
MS
O Postwe no
Negatwe no
1:
C+1)
O O0o oooI
(-4
bort
: Ao twe go bor
wth tho ayslm;
ayslem
usl Thoix s a preblem.
anel 2's
complumnt spu
e 1 CcR
oo aag
Can
(T3)
oó oo4I 1 0 0 0 0 001 -a)
()
oo oO o0 0 (2J
o o oo 100(4)
(4)
umplumenleen
9memardalen mslemeniel Tdugetal
gall Th ogucl dabhueN
oerakom ar
aimg o hee tu
no. onlyuo
w acld
wA hane ak deu (1)
Co
the MsB
MSB, ok
howe To bust
A th
Co
Owa
Aubtailtem
hue
hewe to
Ther akoclen
umplumtnk te oypde
(dithronk hon aeldate.
oraten polelue
w xtqu an apprcoch that oslumge haxcduane.
CH ow)
We hew dhagmtel binavy cuelear then we do nol
xtquit to clesign buneug sublkartu brom raleh .
, &kzou uamg
Thee can e a aysm or ereilalton
uwhih w Cc u A inary acdelur bardwan on.
Loth ulslxacion and adecdthon.
How
A -R A +-B)
of
Aeleung A urth negaiuve 13
(usng comlumrd
A- A+
= A+1 +1 (wsung 2' compmerd
A -3
adelubon
ofuralon conwextid to
ulsttackon
opuraron
1.'
complumtnt.: Raplo 1 y O
(onueao
CUmc
C+
Ct1)
o o o o o oo1
compnend
2 1 2
complment e+2/2
Canyouhenel upresnt +2
8 t ar usecl to
9
C+21)
omplmend
apreatoed une n '
Note O
ho
o0 000 O
Ramge - 1) to +(+1)
dectiure =4
oo
2'o compplimimt nimbu
unel ts uo comalumtnt
2' coplumn
Hvo D
s aprusenteel one m 2's omslime
ducduvu = 4
9n2compument
m
D xpresentac one
gmeel
toe-
Rury-L2n-t l wmplumir
's comlmad
- 2J to 213 »
complumend y
numlbtr xepresentuc y 2's
compliment eptestmlaun
Pang ob
(-x)
-x2
--x) x
=
2 tomplume
2 -
daclune : 9
1Sunauy cdeluun :
Ot0 =D, 0+3= 1, 1725,
Cary e
O O 0 1
O 00 (33)D
0 1 o11 0 (54))
o 10 1 O 101
O-D 0 -0 =4 1-2 0, 0-
am as dscimal sulbalxacltem
(wdk loraew om hg")
-1- (2)0- 1 An 1 dug
of 10 (olocumud
co oruowed to 2 ( bunay) msbaud
nit hgher boatlion
On
6b
djol- 0 100
.e.
J.e. 0
Oo2
comsliment akubmalre
2's
arouewne
Acleluton hollow's ame
A
tomaucleung acleulben o ve
Aubtrachon a don y
mUmlsu (-ve numlou = onpmtnil
10- (16) =
Ti + (-16)
unmee Aubluahane
II ooo O=(-1)
O o (83)1
o o (-16)o
)0 00
Cag
dhoardood
no ca gentcieo ancd gn bu 1, h
gawe avel m 2's conmumeni orm
Pracal mslucceem
we ace aulsttacng lage no
(3 3o
C-83)1
(16 1o
+ 020
+(-33o
cwv
0TI
No
(1022 Lonmlumerd
.2'
(101 1O1)2=