0 ratings 0% found this document useful (0 votes) 37 views 28 pages Microcontroller
The document discusses various aspects of microprocessor architecture, focusing on ARM processors and their instruction handling capabilities. It covers topics such as register management, instruction execution cycles, and the significance of different types of memory and data handling. Additionally, it highlights the challenges associated with pipelining and exception handling in ARM architecture.
AI-enhanced title and description
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here .
Available Formats
Download as PDF or read online on Scribd
Go to previous items Go to next items
Save microcontroller For Later
PAGE EDG3
Module -] Date
LT
1)
{icroFracenter { “He rolontrollen
\
is oats ALU _Gunrol pnp! © T+ lontioa the Cet af. Hits =
agi dena, tack pciitoy fgistt = prow din aoldition it hod
Conn clack tiring Cewit | hwilt in Gon, Gah. Z/o devises, |
AL Totonupt Ceeevit fines 4 burloa
Te is is o/@ oy 90 inatsurki
hed tony _iatiockiana ten}
Hove ta, bla [lorary f | be ove ote War foroy ch CPU |
cou
Te hak one (0) toe bit Te bor_raey bit handling |
handling insbruckines fina br sckions
Lt _ic_tst Svitoble fan Tr is Gyiteble
onbeddeok appl” . ~ Apel” low pow urphis
Speak is high Citug) (B spud is low (m2 Se Nn2)
Mensry is External & Merery is
Cin GB): | zag “Rand one iba)
Ti ic aud for gennel pope) Et is une for dpecific
Ponpane
Tr ® Gostlin . i) B is cheoper .O_Loutrodion Sige is Variable
BD Gatnuckion Jength is teabybes (DO Tabor is
fo
CoD bytes
Gate quick fo decode
TX Gates
> Mesory Accesd js Game.
Te docs not wr. Conditional
Corder
Pedy
BD Single addoamning Loceeclt | Conglese i [
oro _-Auppertad ans duped
i i @ 7 sip on |
fe __darign te_destan 1
(20) Ex PlsCUbipd are @ fx gc chips ode ||
PARC Powe Pe.Date
~@_| tse Pritsaphy
| Sastructiowa =
|| > Rise exhibit —suduced iatruckion ald oppranch |
= Th thi au. Va ‘ Fe fo
__ | honing ote one instruckion Will get
sexecoted inn Single Cycle
= fise Suppo + parulit apoutin |
> Tn lise, fhe inatvuckion, ae Hwitiple gear
this Makes the _pantulldhiste in operodion quite difficult
@)| Syntace’
A> ciece only fous struck au duppeilid . How adhan
28 tans Aya then a eacteting trabruchio
3 This Asad. to tod‘ Hoakiing
> However, C150 Supporti Huliple instrocbiind f prake
ia Sirgen.
Ol Fixed inabrodin Sem
RISC utes deslyneal with all ubruchiand of he Sane |
fag held taal whik
x Seg celta ace Jc
Multiple lake tight—besuguih ———_=> Rise! Aecilibat seadvuclion piping
Here, the Various Subdiividledl inabruclions into.
Simple ones ane executid patdellaly iapipelinad |
focerat
> ee decoding sf previsas —inatricon tha ——_
Leteded tia provides avonchwit
i
Next on tan’ b
faa in_each ag Vast
Hayat 2b —
4| Peg ishng
(The sey the [2160 pracesso» gperdty Pure exichs
inclu wunal purge megishen Ade
ae specified dugicter for dala 6 addbass
pt hte egistene acd oto total Steseqe
obatiaalion fos oll gperabivag |
® | heed there Techmigue
2 The whole openobion tnkus plates the dite,
tatisting in ee
Ls Th ao Ht cadividual load £ store |
intteuetion dala is toval blo sua icten £ uray |
> This Previn on advniage al Holiple sunty
access STI
ot be sdaquired,
I> Direct Hersofay. ficcona ie hik in Kise.ARH _prilos, i
> ABH n L is
like o Ase -
> prin a Rise ihe
Ly Te testruction set i a |
Eratrocks fe us i
fpr _procae ian Act (alaing a Reduced ~
CL c=} festruchis fe ‘irl. é
hich cot be ener ia a Single Cyeli
_b Tnatrythion sunt!
a er |
4 b> “Hest sasbrucdon ¢ Rise ¢ WRK prowio have |
Address fuspruckian femal £ |
Ye Wo Source spedrand ott Aterak in _turs. 5
Y debsuss i as
Tn the 2 pdelrees location . }
gfbeads of Meise which one Rejetll by
ARH procosdor>
[> Bagisten Wino is 9 lange chip Arta
wh te is: _porupiod thi. lange no. of Regictoy
2 This featur ie a problem £° hance is sofedt |
fy ARM proceuo toe (Reduce Cost.
PP whin Bri
£ bunce tn An Dla, alate
> They Cos pipeline peoblens Since sho is a
tliskurbonce te He sAriondh flow of inatruoke
BAA
Pence ARM deca ot use dafayed Branch
i
Tice Moy Moke. Exception handling pure (onigler.
Lo ARM ore Bid Hock
TATOO Cepobis fn Lina
=? However toe athe fratruch’ om pool Halhiple.
slick Grohe fn thin execulionren eee
Date ossscsececeensaneoe
|
“el Evbedded u a BH
——~ |b an emb fsa tor dyAlert sith
—Y| zi nckfon _wilkin i
TE glecbvfcat Ayaters olden wrth je bi
——T >
TTD Ebedded duwice” Betul on on ARM Gre ichwice
—| is! i are _(s,
ent
al AGM Procesto)
le te entrails tha erhedaled =e -
2 i i
al oh ic a “ roasses
ew:
Gnatructions & Manipulatia ala {
a=
> _odtun 1 pr ins a “
| “ie fhe ARI proceso) —__-
7 | te Trtorface 2¢ with a Buc
Ql Controllers.
ws Confrallen qu. Apectalised. periphenale that inplerucl
hoofs
> Tels tuo typay ore tery Tatoiruet brtiellas.
oe
=> usw Controllers — onnecta pif” types of runseby
4
he _tae pro shor. Rus :
> cable fp tDrept lonbiollins _inbernpk oes. snataod
by poriphnals to. get attention a AH processes2, Thug include. _Senial 1/0 pomrdld Lo
dimers. Coontern flock Lecouits
= pherigharal duce proces Topol nudes tunckiong |
fete tep by _Louroching to other douices dhst ow.
ingle.
| oi ue
|_fvs
secheolet =
>It gan intorml Buc usd js lormanicdte,
blo dit dorponoily 4 dhe olovice :
[> A bus ‘bas 2 Architecture dawlt '=
QO) physical Level Grea dchitcol chanaetinietica
Dopiece tel ee
govern the Coruunicotien blo proumes d penip haha
I> The an two ditferst. charter of cleuieed Ahok
win blacked te dhe bud
é} Rus Floater (ann pracason (en) — 4 legiah dav ice
Cpoble. of initioding hake, bronsfer wid.
-anpthen duyice of He Sore bua.
@ fa Alowe. Coenighoals) = logical alouice Gpable
Jip orang oni Peon teandfer ragsusst Kier a
Le aad\
Date ..
PAGE fee
a |
| _
—— | Tran treason] |
— | aa
a | Tite eovupt |
—a IL | fontrolley 1 EE nts
T_T
1
—— TIL [bie arbite, J} ——} Ts xtetnal lp External
| Bridge f Bus
—H t~ Fen
| I 5 t— FLASH
_- ANP— PPR Bridge) cea
rT. = AM
| Real ting P Dran .
|
= ESencol_] ho. |
opts tT Guntens [tinuna)fn Sys: Cottwore *- LABN
> Embealesl Syston Soflusre dnives geauned £ |
Assoc tated Hordlware Lomponente te provide
———] a inetional
| sapuined Spates puinehinnalily 2
F2Typicolly ty Sobhwane Abshrasdian Jews ors ted |
te lentil an Enshedded Suthers
Ol Tatiiobigation Gale
|—> T+ ? He fect Code exceeded on the bearel
> ct lonfiquin the eas 0.
5 li atre] oven to the OL |
ca ssvally ib i 4trmwore > :
@)ll Device Desrena
2 Thi Jae. it Sie
~Arftwon Hat dicecly Totirfou “with
he lootisls FpAbedded —syatorr horolwane ce called
a dice Abniver
FD Differet types bandera Will Leave lifter
duvice drivers Regutrrtasty Hot reads do be Mat.
pada dpa
oe
an Erbeldd Of ico type of 9 thot js embeddad 2
- Caobi hntos Cov :
> Tp provides ano te Ml icabi
alVcation
[7 “Ct perfor the tasks praquined fora. device
>There ty be Sulkiple applicabions Bunning so ths.
Sota Device
PAeplicakion Gans Run on selt Suk thoy capendd
on He OS . :
fay
(Trib abtgadion
Hancyare Nevicemoe
(RM Modal '- SN
>The ABM (oso dofatlow Medyh is Mon Meuron
Tesgletrendabion of Hee ARH.
> Sz, A ri i i a Ris
Ye wer a food --stere Avehitertyurn
QL hood. 1-
This Taatrucion Copter chata trom _Murady fy
Rag istera in He procedsen (Co
OI stow -
= Tht Gnstrucdien Copier —glati, bees Bagisters in
7 the: proses Gre to fterpy
® | Vab. Bos
— ie Oala—sedi ta ARM toe Vin Hua sti Gun |
H2 We Oca fe eidken in the form 4 on 7 oki
qeonde. (4) diffe, Hor
> Tui ts in lewtrart with HYarduard Architechwur |
which hes two ditteurt eu
® || ceastroclian Dedman’ |
=> Th Unit olicodes Hrs nat rod Ron epcods Rook. ||
foo Hes eaten then the Tastruchiows ic ercociifid - |)
©|| Register tre _|
2 This is gq bonk of 22 bit pyocesiad Registers
ussch for coring Daa thurs LPAGE EDG3
Date...
| is 9. go - ist
__le 4 inatryods i 1
feteu os holds is a i |
— |
then dhe proces Ready ignah 2 bit Gy 16 bit |
it ig H, |
— A
Lross0Si thers oorbers to S2-bit Vali & dhun
plex hur tro Reaisten ttle,
a Alug MAC |
=> Tle ALU 2 “bac. Reeds fre spinonili Valus Leon B
4 Ra Register vie md B Bias Rapedively ,
pu rl iv Vin 4
Cc bus 5. duubinakion Regi ton Ra 4 Hen dee 4
Bee Rag’ tor tile
® | Addn Baacaten -
>. Thin
Trashcan se 20 Hs sidhouat fous |
| Seal ste
>A ee ee
Coheuhstash using te Rorral Abitten f pro
Thowrunter =
L> Gor Lnodd_ates. Teatcuskions the tnoatsan ‘se supdhin,
Gi) to bt nershine Mardy (cakfonData. [cantruckion .
iS
—— 7
eee [stam Extina |
cite. yok .
_B Register frle. |
Re ava Ri
pS
led jee
Li [Bevdl shitter)
a ec] bs
aaa
[OT
j auault bus |
hte acta)
v
Bddrosa_
Lnoaran tn]
—tig ABhipae Gr Ontatow Mod .PAGE E9G3 "
Date...
et ee ‘i
Explein tis dit procter Moda provided by ABST —
OQ Supowis Mole Clupoult)
PTs ie gated fade fan conning Ayaters dala —
Code te Acces Hardisore
The ARMA extn Hin toda ftir Rect
2 This Moda ppl, high Ap
_Tntooupt Rout Erg)
>This Pode Angpert all often Talimunpt Aryreed ino Ayedor
ot O GE
h Ape. Titrugt horalling
Ybor s~
Dh on tnabredon Gi) deta o fedebad. fram on tovaltd
randy (scakion , an abort Excep bign ob:l| be genanchad
S) Un dafcnash
> Th a fetdush Opeods & nat on ARM iaatrodien, on
ended inate aolian Excaphion pir be guurafiol
[)_ Usen_\—
b> rity Hoda to utah to ron Appl” Code .
> Tun mods © chro coblod at unprivilegad Mode’.
BD) Cysten \=
> The Mode 7S used fo ruaning OC Take
Th vas He Sere Rigiedor ao uss Mods@l|lL Expl aya {iy Ma Active. Feqicdora Available in
a
a.
Encplairy dhe Ragisdow usd andan Nastipuas Codes
(a
Explain Ho ya Hoel
with Complete Ragisden St Avetloble
=> The ARM procosao) hod om Toteh of. Ft _eag is
2A _sugisivy ane %2- bit eid
=> _ragishnrs ore classified fn _2. gramps ‘=
OD _Graurah_porpers rum igdent
@® Special puspes registers.
® Gunnad pwpers oayistas (Oe 8)
> igishns Re — Rigo rec at GPR.
> PR hold. eidhen Dato Ce) on oalelrand _
Speci purpose regisia — (Pe) |
ie
> Rayisdus Ay = Ric , CPSR , SPSR ore
fee SPR,
DT wren Mode, dunighrr Rig —Ris on Jocll ah
ob Ris (S\ e
te differenti dear from ofber regicfoy ”
Funckfons of hur. Regichns *—
© stack Poinba (Per)
= hegislen Riz is the stock pesto
Et stows the Tap of de ates fq Ha ~~
Cawunt proasseh tad.
—PAGE EDG3
be]
Lr
—_]
~ . Link. eaqisden
| ee fh Rebunn Addoush tq this
_—} -~$§Ragistes
—_—
> Esgisten Rie Sis the pragiess Court 4 loro Hoe
Adebrsar, oh the noah coy
feota the tuto by the
truckfon te be eh doled |
procsrcy
tnbarked Raison (ne 53) |
sugislou Ne-ne au unborkeh vugighm._<
Tus tuand thet eee A an Refoa bo He lan
Sz abit physiol Raat Jota all prousser Modu |
Barked Ragietinn (no Ne
| > Registers re — Borkoch reais |
D_The physical regiclen Hfoud —L, by cosh gf
Heer Aspensls She Cururct procuist node.
> olwrost ot yyrstrockiont allow the Rankucd Raa fete
be be wad whiner © gun pape ouyislen i]
_ Ts olbousch
=
=
> Supervisor Mode hed Ranked Tagish Raa Gud
Dry(svd Dus Gud
> Abt Mods hos Benkeh rnegictn Bis@bd
Ny Gb), Spsr(os€)
F> “Regishen Ge - Bio beve 2 bantad phytic noaidtas each
—_b Rigislen Fin fiw have 6 boobed plysizol ragicon eachPAGE EDG3
Date...
@ || Curcent_p,
FL CPse ic Accessrlle in ok process Codes .
2 Tt lonteim Condition Coole flags, intorupt
olaable bi. He wrt prouder foot £ dhe
Adata £ lontro infontatian .
=> Each Freption Hoole olis hah a raceh pcogrsies
j—S4stur_sugistn Goss)
> coon 5
usd presinre de Value of the CPLA.
ty
ExTunCion Feira
Sa CS
>
mn
Bi 20 29 2a ames e
———
wacrwes —(elel] suis)
Fuderuagt Thawte Pp recudssy
ests Spot Fad
| TOT PSE
bonalidion Hogs
p- Jovnck of _cose € cre
2 Th _Lontrel bits henge whin on Excpdinn anizes
£ con be abterrd by aftwrore gly shin thu Aeftunre
je in privilege Made4s 0-4 Grocese> Hoda) —
> Thue bik delisnin the prowsge Mode.
recessed Meda Pode Select eet |
A foul
F Lo 00]
joo
\
Aydt Tait
ih tell
User D000
Bit S (Thins sf) =
> Tha bit gives He tote of dhe Whe
> Te ath of de Cou olélinmivia whith instrucyan
Skt is beirg ere.
2 tht 2B Tertruedi Thesl
satructjan fo Rod
Thamrh chite Toxelle Abst.
i+ 6 £3 (ob
> Tun one 2 F
prmstase) (eta t=
7 @ Fig
able
fe Controls by bit 6
I> eit OCe ian
Te.Con oh.” Cok Hope
=> Thide Hage in
the: Case fan be tested by (last
featvuodion fy
is SH te be exeestiad
dilemine whither te Laatrodi
B42 Crotenobion flag (9)
bit 29
jeoth sPse ce a @ Hag which fc asl
+o proree £ Piadtore tre CASK » flog ih an
Exsphion _ccoury
1
BW Kit oe (yy Jaw Log Cv) -- |
> Tt is Ad in ah 4 dest _ way ic
2 feanpddition /subbeskin, V x Gt dal |
eS
uiicbarg ool
Fos Neon —addlitisn (cubbacdin . Vf norrrally Aft
ID Be 2 Coss flag C ei
Et is Set in ome of 4 woye
2 4h odd" /oob” prot incopercts
2 for adh” ¢ co set ge \ Hf de od" peodune
a Carrey ot if Darou ioe.
= fer Sob" fo Sk te 6 ff Sub” produce 0 berrow
it cdhowse
Shit opcialinn
is_sot te Jost Mit, shifted aut g 24, valu oy |
the shift,
jp) othsn Alon ~ ath” Jo uh”
Cfo Abatally dap |
unohanged -
ee—
—~
Abit [zootly 2) =
> t+ is Ct pt if He Result of the jnateudhin |
is_O & D # sthanwise
(p> Bit ry (Ce flog. wi
a jh. _susult fe sugars ot a tals
Cveplesunt Signed seckigur dhn We) cf Audulh
eaves <0. of pudult & tve fi)fig ce ages of BRHF pipeline
| The 3 -ttogen used in pipslinn ana ‘=
O Feteh '= Tn this sbage Yee prose fadchu the
Aion frou tha Hebiohy 9
Intbeu his
D Decode = Tu Thin Atoge. Otseunso> Falentifies the.
inheuctien whiten ic te be erecudzd
IO execste tr Hus thage dhe pr
iustevelion £ tts Fiault” isa Ryyiedera
cl [eetch J .
—
2 => [econ
Lege a
|
| atogs (eesese |
J
| astege -y merely
|
Vv
| Alege [or tte [1 :
dig 5 Atege of ABM Pipeline |
© t= Tn iis stone ro: |
{uatrucdBn fore Marty f places in Ma Gutru hon\
o\\\'e\\
fhe Aue pipshie flow Jor ah insbroobions .
Weile t+ In tha Ahege
by the Tuabrton
Hae (2aults guarded
oa _wtHen beck be
ta Reqisber file
‘achud ing Any lake, loosled
fats fh puroVector Table. =
99000008
0000 00010 H
Co.c0oo
000000 12 H
EFF 0069
200 H
FFF 000 & 4
EFF Foe
EFFE 008 lo
EFF 00)
EFFE oolgt
FFFF ool\
LV ELVA \\ eh
¢. we
| ede
2 Tt oun when Pas app liza
Ko Tn Sudpente to seat Precessor execity branch
frdkruction locatid ct qolabrass (000000001) fx tvantbon
_plogwers deple (ontsol) to the inttializabion Cole a
undebind Lpatruchion =
I> Te oscuna roceves Connst plecoole he Trahrvabions.
I> In Respone Precussey Evecily Sranth Cratruchien
locatish ot _aalelruss (90000004) N)
© | soblulare Trtiseayst Ee
L-> tev ® fe wae WE iettru
OTe is frequmtly use te favoke an O00 saaline
@ || Prefeteh abt
[a prefetch abo Vesla\ fe uted thin the prouiiey sttnply
1 f
te felch an inatrucion frnes an addnosl withsut
ec
© Dake Absit =
—_|5 bee Ne an 2 s
fe Access lata curwiy , withouk He Grreck AUS sorrisciaon.
5] Extowpt Repussf-—
eh Tatyana Vote, ic uubil by the Ertan
| pardon fe tntioupt the Nornel jndtroction exerution
Hod) He pends
—SS
Cote Extension (— ———___~ b
Th Mordwoe Esedonafond te ABM tee Tao
perfomance , Manoge Heaburet £ “Aide | i
a a a
2? Thre are Hardware Loctensiona *— \,
O Cache Lt ighdty Couplecl esertory 1!
7
@_Hessary Panag oat ‘|
O_to=preg essen Tedavfare +!
che a2 ARM lore howe Ai Henant types of rary
|—Penogts wt__Honr owas
OQ) No Extension - De aot provirds. Ay
& Henaiy peotichion us anit (P7pu) — provials Ireatted pale
& Hid) = proveoles 12
fo -grocsson Tetinfors. -— :
> The gro ing featur of 9 (ow con be
neck i o_Co~pracepre Bt
PAM = core
2 The (or pvoass tan alte €2 oxlendet Hu Guatrocdion
_ fk sek ob etka ctali. New
Tatrutien
p> Thi ARM (o-prouuder A a
4y eacly Coupled fo proasusrs including
aoking oink, Syedeer lant itladranee.
= fr tha piles gost dls pe (o=proatle,
te Abt ln clown the CPO Che