Professional Documents
Culture Documents
Cowse Co de CSE-319
-1 Draa the. blaoh. diognam Son
IMalliphcalion Handoane
A
Version of Maluplioalion
Hardasane
mst
4
Matplicond
shift lest
6 bils
dinectio ot
eack srep. he algo ni thn
he
duet ini tiahzed to O.
stats with the pAo shift the Multiplcord
Con tio decides ahen to
segisters and hen to
and Maltiplh en negiste.
dnife n e Valees
into the produet
hadine:
veRsion othe multiplh cation
Res ine d
Malkiphoond
32 bits
32-bit ALU
= -
0 Ollao
= -Ilk0ox2
No, Son addig these tesJo nwrbers e have
to Sa oco the binay floatiy po/nt addition
agonithrn
Sep-1
At Snst e have to shifl the signiie
of the namber ith the lese eponnt to
sit. ntiliks exporent matkhes the angen ranbse
Here hurben
Hene i l the les epoent is
-Ilen X2
Step-
No Awe have to add the signficands
263
3 (SB)
5
27
O(MsB)
63)-(111)
25
X2
50
SB) Ioa
(0 25) - (0 o)
(63251 = (IW| 0)
have to nounalize the nam ber
Naw, we.
11|I 0l 2
=lllI|o/lyx2"
Heae
sign = O (pasitive nwrbe)
gonnt =5 (madjusted
2-1) =5t)
- (132) 1
No 2 TO
sB)
33
(MSB)
(132) = (loo3 o 1 0 o)a (acdjasted)
No to Nonmaize mantisa, s i e have to
Renovethe leadeo(the leflmast) bit Sinee
Nambe d
bids by adig the nece ssary
So Bina epresentation, 6 3 2 5
in AEEE 5
75
for same
PS ad CPA of
2 o
250 ps
and Corputer B has a eloo4
PRggans.
Cle time o 5o0 ps ad a P af
2 the
for the sane
nue h
L X 2 ' 0 X L50 Ps
.CPU time, =
ine= x 2 X 500 Rs
.'.CPU timeg
= 60 oX es
Olealy. eoarpute A
is e
Saste hene. he
anount faste is gien by exeeu tia émes.
b7
CPU pedOUeneeA xeeution Umeg
PU pedaencep xecutiom timeA
600X Ps
500XCs
=|2
that Conpute H ks
Qan Qan say
12 times fasfe than Computer B.
- 3 Ben Baiesdeseibe the sters that
tnansfoRm a Progam initen in a high-leve
into a nepnesentatio
layguage such as
executed b7
by erpate
that is dinecl!y
pOeesSOR
A
Mam/y two
main Sysis em
hene
hene QNe
by a se? of operatoas b a
Compiler
by a
he follong
he eprple demons hafe
the steps Convedi high level lavnguage
Lo poeessoR execufable lavgaage.
Swap int vt3. int4)
Hi9h-avel
languoge int tem
Plagnomn e) tepp =v i :
v t i ) = emp ;
3
Conpilers
Assenbler)
inany Machene 000000 00 lolooolo 0060000/ oaoll00o
o00000 00 loodoolo 000/0000 0ojO00o |
|langugge. PrggRam I0oo o 1 lloo0 l6 00006000 oo0000 00
SOn MCRS 000 11|o
16a l1|O
000/00 10 d 0 00d0 0o 00000000
A
illstra fas that. intgyaale
Modres lau
law
months
Qincurt esomees doab/e evey 18-2
Hene
No of on ths =
(20 26-20/0)*/R
=15X/2
= 180
Best ease
A best Qase in tegrated
Cincuit ESTWCE3s double every 13 months
130/18) ne
Number of tnansistors shoulA be = 2/18) nes
- tmes
= 1029 times
NRSt Case
=330 3 times
3 80 times
-1))hat is SA ? Desnibe the MLRs
ns tae tion FOumat usig a dignan Please
mention the Fields and Field size Sar
R-pe Llpe and tye instructions
A
lachitee tare (A)
2SA: nuction Set
is abs taot mode/ of
a Conputa. An
an
benavioun a naohine
SA speeisjes the
irplemontatins of that
Qode unning g
naning
ina Sashia Zhat does net deperd on
of that inplementation,
| the eharacfaisties
Compatibi liy betaeen
Paroe paovi ding bnaly
instnuetions inpe mentation.
ong
i)Rere me 3 nstluctio n ategories
R-SoRmat (mast Cammon. T-Sonsnat. J.Savnak
v) All mstRactions have
opopode): speciies the. apeaion (Smst bid)
Somat P s ntadaess/nteuri
ate
hinsfen , btaneh, imribnmat
Here
ns kst EJhster apeandegisleR Soure)
bits)
atAnd egister oPnand (Eits)
A
bi? is ath bit leftas
Hee the ightmast
Hee to EEE-761
to LEEE-761
is the e t 3/h bit. Aeconding
bit represenks Sgn bit
Convention 3/th
part and
the eporent
2 3 - 3 0 NEpresents
= 1)'*/tos) x 2R6-129
= () a 5) x2
= -
0 75
Am
-5/he eighf gneat ideas m Coputer
SeIenee ehitectne e like idea Sno
othe Sie/ds . Mateh eght idea Sror
Qompute ehiteetune," Design Son Moores
aa "Use Abstnaetion lo sipli
Desikn Make the ommon Case JiRst "
""Peajonmanee
via pmallelis m
Pe Sonanee
edietwn
Pipe linig", "Per foamenee
Via
via
and Dependabiiy
Hienanchy af Mengies
ideas
Via Re danden e
'
to the Solloaing
3
Here nght mast bit is oth
bit and subsequently
letnast bil is 3hst bit.
So,
bils 3 - 2 9 ane do o0
Here
bits 5-3 n e 00 nd bits 2-0 ane d0d
shich means this bina patan epresen ks
a n add Isteaetion
else
i==j?
S-9t
Eit
Hene, the jikst epression Coypanes Son eualit
heneh e. s/ould Aant he btareh iN AgAsts
Ce equa instaacdor(beg). he Code be comas
mone efientif test for oppasite lanmstor
4e
Ihstnaetisn
add s O . A E Z #Sgih(cAitped f i
to go to the d of the
He n need
"is ecapk n oduces
istatement.
S-3-h(sApped fis
Elsesub sto. ssl$s2
Ei