The document discusses various assembly language instructions and their functionalities, particularly focusing on data processing and memory addressing modes. It covers topics such as addition operations, floating-point pipelines, and the architecture of the 80386 microprocessor, including its protection mechanisms and memory management. Additionally, it touches on the control unit's role in executing instructions and managing data flow within the CPU.
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
0 ratings0% found this document useful (0 votes)
8 views13 pages
Microprocessor Notes
The document discusses various assembly language instructions and their functionalities, particularly focusing on data processing and memory addressing modes. It covers topics such as addition operations, floating-point pipelines, and the architecture of the 80386 microprocessor, including its protection mechanisms and memory management. Additionally, it touches on the control unit's role in executing instructions and managing data flow within the CPU.
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
Date :.
> v o = “2
fy on ‘insbuction 9s Knoran ap odd-cessing tnede——
This _Bpediay ‘ ‘ 3 ‘al
data or an addve:
ii’) “Woes 0, addressing saode _ane:-
D| Registew moda: Thuis type ag —adldtenting_mmade both
whe _opexanca nena! shore
eae mow Ax bx
KOR Ax, De
) | Trome di i thé i 0. Bi
Sauce noenand fs __B-bik_ov Ih bik
‘ bo ?, %
data.
Cas Mov Ax 2000.
AD AL, ug:
aol i tT AN
= iv auddvene sin divecthys
aiven Inthe Sasbruckion ap displacement»
gue Mov Ax Corse
i Moy Ax (Cosoe|Mov Ax, Unt]
mov ar, Tax)
€) Baneh Sndexed mede:- “In. this the efpective addvens th
Bum ag haned uegistee anf
foden sel fos.
ge Bare —segister > Ba, BP.
Faden ngs fev ts ST DT
ep. Mov AL, Cave tl
Mov At: [xy 07)
F)| Tadewed mode: Ta hfe nype. ag addasasieg tole ee
2
ve i
[}_—_——@fpective adden, un “alum ag indore
eg tater and fsplacemeat +
aye Mov Ax Csr £2000]
| __tov aL Cop tao}rs ;
@2) Explain the. follousing Tastruction
DAA: imel_ad ib
: a ik wore ont
HAegister ;
alge up uned hen we _eoank to. perform ad bition —of
{wo decimal numb ex (BeD_adaiion)
| We gist enter the two decimal qumbexs toc odd
Them wag a acunal ADD fashudion-
e| Then we penton DpH Instruckion + DAA witt_adiunk
the addition to appear op 0 decienal addition +
e| The logic a DAR sap __gollouns *=
fe “Aye tower cibble a, AL_is_>_q__o Aussi lary
Flag 8 “it Yeon add ef to AL
ME the bi ibhle 0 AL is > g oF Corry
Qiag so ‘y! Ynen add Go te BL
i) AAA 3 CAsert Adjunt for addition |
ae | SH maken the putt Is__unpade Bed form
«| cr AsCEE aden 0:::.4 axe steprepented ap 30 ~--".34
o| Oh )e. 2 +o__mank_ ihe
Wiqheo loses
| sth Con be avtntizted avoided i@ ine ure ARR
Sostruckion. ag tont Me additinn %¢ porformed,
| AAR _updaken the AG & the ch. But oF PE sp
ZE__ axe undefined aon Snetrucion
ai] XLATS-
Hexe, We cx i, the ov look.ss
4,
Wg
ROU Date «
Wis_.0l_do the translation form the lode up table
called _oSlevensea»
«| —To_ong Give Yue bane address ap the lookup table
uote ___alven toy Bx.
eo] YVLAT xe a byte fo AL i wf
286 {oo x beginal: ea
ty) | Lawe =
This ngtouckion Cogien the Valuer og Sf, 2F AR Pe and
CE sino bits of 6, 4, 20 crenpectively oF AY _egisiest.
a ° , ; g
Wis astuction con paowldod Jo_make, Canvexsion of
ra gran aittes Por R08 Ss
fo 8086 6 Carios+
load: Al_coith lowex losten oly istext «Te
Date :
QS] | Explotn PPT g255° ith Mole diggeom.
» 2 f ri le
device designed fo “interface Hae CPU With sts
f foe, ek
i) Wwe Can ogc te Actorting ta ae gfiza
Condition.
WY) | gh con he ured cathy “edy almnost q er,
i) | fk Consist: a4 iixee @-\t_pidivectiondl” Tle pects “e-
Port A Port Band Pont c@
¥) | Block dPogram Fox OPT Qoce fa:
afte = Group A pt lo
ee ind Pout A(S)
7 Crsoup A Kx
GontsoT
= cup N
tat c i
in Upper oy
Bulle; t y
Group B
RD
—|
= Beael
tae wri be
>) Goats?
Re,
i t zs
es“i)_| St Const 0 _of foxy
power supply
vi) | Posto io —fssthen divisled ta hoo 4=bit ports
CK n ez :
yin) Cox ef o
S modes
[Sapa -@ output made,
ex _2n_ Mode 0, mode 1 or mode
ix) | Pork A Cay
2 inpube = outph madeDate :____—
a
Dravo_and_ explain Floating pofat pipleline for pentium
poses
a
5 |
: jo y " W |
“ng ont th i
| There epi shages axe _peeletch Qinst decnde, Becon f
d. ingh_€
code gloat gad _exxor nepetting,
iy Te oateli ‘ :
da
|
os
Hoang Oude oGuintradle, sualipey Comnpares
PEt Tnshructi m7 h on og,
Postruckion Cache .
Dat Tnstuctioa decode +o fenenate Contr|_wowrd
A ingie Conrmo| eared Canes divert exeashon
ef —00 Sasttuction +
a 2| Da: Addvess ap memory sxentdent = a
Colataked.
d
Ex: oe Stage ouagiahe ; —sead)
TASGAONKAR
ced
[ihe diagsam fox piple|fne ina —faltosoae———~
Ve Code fashuchion
Cyeneeal_ Control Lond
enerate Contro} | | crenevate Cony ro}
a memory, Z_ dasma memov.s,
aol &
Access dala Cache Accens deka Cache
woke ALU rout Colculebe ALU +Discuns th trict _probection mechanien of, 90386 dx
aa
| The 80386 er 2g 32-bit
hak can do _.32-b& Operations a. satagle cycle
vy 3 a- bit dake bus rohit ADs
Rea _enwlk tk Con _aeccans 4B (ov 23) ag physical
temon
The 30 386 mien prrneeaS art duo most, ee -feslute
axe Ne
hanaloare fn 80986 @ttnins for ‘bank
ind] The five aspects +» pentecHon fo _B038h :-
2 Type chectes
YL Bate Checking
9D) | Ren saab le domain «
d_| Reabrtotion oe, preaceduce entry pcs
3) | Rerbrietion og —“astruction Bek:
1) | tie Be forge fn
2 oki fer Cir cent! « ee
o_o ie ton +
V)| Tere Joo fo_gvitumen® panath, becun? ste
a du Con at dre:
ane okion +Date :,
bes (32)
2-Inpak
adder
Ebtedite adavess
BES Gr
= Addies:
6 driver
a Tinteval_ tonvyat 3 Pie eline
US Reade the fashvuctinn flnaen the.
g chon exe X on:
Lonsigt ag Yyree Sebunitg ¢ fasitval, data grotection
| york .
Control unit Containg antes cade anal Special Lad paxe
\ 8 ret
@ 0 iply 2 dg, fwtruction +
Paka unit ww su ible fr data oprvation eg ycdhy
ve
by te Control “untks It Catoing ALU cut go
bit geastel punipose. egistect and 64 Pee
Slittted »
5
peel)
Pooteckion unit cee che cle fox Aegmenctation No flakior,
Under re Cento) of microcode
Ahistru ction unit i toDate :
Rerponsiole. Rox Joltoining opexrctions
4] Eapefinmemnony management tn_detatls Tn _aones
pam tea ot: aie
2 5 “The %o_ ROB
tant Sa Gs
A) Begmentabon unk:
eR Paging, _eanit _ _
2a] Bogen ‘ fal g S09K6
S_8 fon mecharism fa 6%
Ww
+o feat he ata ood. _poenent fo_mecnum
ecg intent ht any Tay ee a
ea lane fysor Pio to PLS, To Lfqhent oninsiby
Le PL3. 4s lowest palonity). ~ : ae
of amt Q
mode.
aod Ye __hargen tue (fnew “acdnens _. foto
addcens « = 2 phaysica)
—__ | As Ye programe: toy prouictes ie vinual oddrens
Te
-aod not due _pysicd darren.Dato __
a)
Me nteckion Ani _caarsol Abe_odion o6,———
the Paging sath, ap. re ae hor
she _ateility sho __ Convent Peo| ast dertas—
| ito _kke tacax _adldners ot _seo_fen.¢._o, ———
vi):
ores “ xn _Snstou chione
Sk altoids handling ga —lankn fo_ form og, pager crater
than Segme als:
ais A
procentat :
f 2 . IS
26 [an cade] [Back teduied ili
- a |
Preleteh bufte! a ‘Peni ceri al
pie bY pipe. Daal unit
Tnieget pu Laegee au i
fe gies ctl
Mull per
[deo Cache | : Adder
BR -
wat