Professional Documents
Culture Documents
Date
Page
04 EKplain Mrntury
infylcauiig
T p tht mtmury opxratioi7s(Ytad and wrete t h e ptaln-
e i 2 " NwOrds Can be argalEd as a Set G2 M
indeptidtm mernory madults (Athec m<n racu (urtcuiiing
-m
NUIds.
tthrctnctc MrOdulcs Cn [UY iq ParO he
Date
Page.
oo0os|03a
G030
o0 7 1
3 oa44 8o0o
401 0o9du o4
Mo Ma
LaJAOfdr MaITageaet
1010
15 I413 1
Ut ter inputs
COITtfgl
CoTtfa
T gtes dutputs
75
4xt6
4bit
Irtmcrt CTNR)
clecqr CCLR)
Sey. coumter se
C15C
Compltx Instruction stt ormpuftr5. Thes prurssors Gtftr tte users
hurditd o injtructian tf varioable SigeCIS arckittc ture incdudes a
CaTIpkft oSpei purpose circuits that cayyy aUt thtse instructian
at vy high speed TheSc inshructian inttract with mermory by
Using curpltx addYCGSng modeg CiSCptucr&surs ICdutt tht praqam
Sit attd ene leyt urnbY at menory cy.des dYe reuired tu
CKutt tht proqramS. Tnis iftccuscs tht
0vt ral specd of executtan
EKamplts IrttlAMD
UNI- 2
9EXplair all ht addiess ing rmades NTh cAu m pleg fal
cuch
Addit 58ing fladeS
SptCiHitsaYult for inter prcting ar
modityin9 te addlVss fielkd c
iGtruction
vatiety_ot adt s5iny mode
u givt prOgra m1ninq
fictibility o to the urr
T0 USt tte bits iL the add ress
ficld tht inst fuctton etficiertly.
plitd modt
Actlveas of 1tht operonds art spcify
Lirplicrty efinition
in The dttinisi
0 instructfon
E A AC,O EA-
gtock.[6P
2)
EXatmpks CLA, CME, INP
JOnediatt rrrade
atad 9pcctfyilrg tht add ress dt tht 6peYald,-
optramd tstH is 3peuifftd
N nted to
apecify addycss i tthe instuCtto
fOIMEVe 0peramd itsr t reed to 5pecifiea
ust fo qcqui ve dope 1a
rd
Rtqigtty Made
Addeas Specified in the ingtructian is tht reqistcr
Qdd Yess tfut rsidt IAithin tht CPU
Sha Dddyes5 thur tht ntrrory addyes5
Savinq qddress firtd in tie instructi.an
2
EAIR(R), CIA (R) Acgjstty fictd o
Rtqisttr Indircet rlode
uttign Sptciffty a rtqisttr (CPu) which Cortdins
tht mtmOry addes6 of
ogrard
aving instruction bite 6inte ytcisttr add
6 krarter ttrar cso s
memdyy add e 35
EAIR(RJ (gmt nt of x)I2]
5Auto incLtrrt g_ Auto
Athtr ttut dtoiermtt mae
additss in tht rgistt i5 UStd t
aCcs LTTory ,tt ulut in tht rgistr i s
inCftatnttd of dtcrtmeicd by
62DiIEc access node
1
autonlatcolly
Instr ution Sptcifits mt mary acldvess unith
tht
(an bt UStd_ diftcly to aceSs
thi mê
taster Than tht othtr hemony mory
addob)ny d mada
1Indiftct addit sbing mudt
elassmate
Date.
poge
Tht addrss fitld dt ar instrutian
6ptcifits tht ad dres s dt a
merrmory acatton thaf tontnins tht adless
uf the optrands
Stq IAL to acuire d t
dpeicitd becaust0f ar addrton ad mtmary
acce5
-EA- MLIR Laddttss)J
UNL-3
OTa) Explain Input LaiRit intiolt aith
5 Tnput autput ittifaCe prowides help a_diag.ru.cn
a methud for ttans-ferring
b/uw inttunal Storaqe and tktt rmal Ilo informatian
deui.ces
piplherals tonnaitd to a Ogmpittr nttd 5påtlal
Jinks fo inttefacinq thtin witt (om.munitotidn
Tht purpust a
centrcul processing unit
cOamunitattun link s s tu esalve the dtfte renLec
that Raists b/w tht (entra
Tht
(ormputey 3 cach PCripher
tmain dttvtnte aut
pripht rals ort tkctro cltchunital and
atd(PU and mtmaey aut eltch[oni electfanaqnetic devices
2Thtdatn tronsttr ratt d CPU gnd dtuices
(onstue nttatly ,a Sy chtanizatian
mecharism muy lbe needed
3Dataocts ald
formads i ntht peripherals dfftr f ronm tht
JAUK foLmtd in the (PUand tht
4Tht opt fatiny nodes memofy.
pfiph.erals dt
andmust be courtrol led Go 5 ngt to difttreit fron_cuh dthef
dISturb tht optration of other
ppriphtruls cunntcttd to thit CPU
Poe
Data
Pracess0r A ddress
-Carrtral
To Text
devie5
UN11
mLPpinaExplain all moppinq Mcthods (assacittiur
QEInthut is
stt-095oioiyt mapp.nq
ru.ppirtg+ diyrct mapeing ond
informndtion froT Mainmemary t0
Ans Tht loating d düta 0
dctta fram (achtTt my
Kuthtmntmury 5u thot cPU Can accss tit
is calltd mapping-
ht mappils 103-typc5
nDiiect mapping
( AsSaciativt mapping
di Stt AsSAciatlve mappling
DirretMupping
memory and Rn IAlGrdG aVe in
f thtrt qut Ry IAIDICds in tht tuche
m e m o I y n t n - bit mt.mury uddes5 15
diyidtd irto 2ficlds
muin dog. Tht divect Papping
tht indtK fitld _aTd n-k bits jur tht
K-i15 iur
Cacht mtmory UGEs n bt add kebs in ac(ess ttt mdin rtmary of
K-bit tu at(ess tht (arht index
uit 9bit
T4y in des
572 x1 2
do 32x12 Man Odo Pata Rbt
000 memofy Cotre memory
qddres5 15bit 7 17 addIosE 96it
111
Dort u-12 bits
Octal gddres
Page
0- Cua | | 00 810
alasSMAte
Date
Poge
UNII-2
Qs ENaluatt the qiVtn ahimetic Stuttmert using Zero,ontpr twe
addrcss instructiun
X A-8t
CCtt)*K
bal'ztro uddYe5s
PUSHA T09 A
Pu st 09D
SUB ToS <A-B3
ADD TS Ctt H
PUSI Tos k
MuL TO09 Gtit *k
DIV TuS+(A-D1)/ CCGt)*K
POP XM X1 TOs
ONE addres
LOAD A AL MA
5UB B A AL-MI0
61ORE IMI AL
ADD ALALt MM
STORF IMI+ AC
DIV aAC A/M[a)
ADD H AL A + MIHJ
6TURE MÍI <AC
MUL ACE AL7 MIE
STUREIMI]<AL
TNO Addres>
MOv R4,A R1 MA
SUB RIBR1 R1-6
Mgv R CR2 M[
ADD RaRa R+RLtRi.
MG
Mov Ra
ADD Ra H R3 Rat
MOV RYkRu M[i
MuL R ,R3RY RR3
DIv RL R4R R2 /Ry
lOv X R M[x R
LUAIT1-11
43a
classmate
Date
Page
UNIT-1
Q3)a) Expluin th Instructfdrn cycle AIith tht htlp of fioNchart
5GFolloINiny bttps ftils hun
instructian (ytle Aill niork
Fttth tht instruCtion ffo.m memOKy
Decadt fht instuctian
3Rtad tht ttitctivt addftss from memaity it tht
instructian has
inditet addfts 5
Extcutt tht instrucHan
Sturt
SC0
To
AR PC
IR m(AR): PC-PCta
Decadt 0P Code in IRTR-14A
AR IR Ca-1L -IR15)
(Rtgisttr ar Iio)1 =0 (MermOry -reft rena)
AR-CAR Nothing
EKtCUtt EACCUt
input autput Yegisttr-t
SC-0 ir6trucign EXtCutt
6C0 mtmgry= Iftrtrice
EE str uction
6C00