Microprocessor Assignment 1
Microprocessor Assignment 1
ALAMURI RATNAMALA
on INSTITUTE OF ENGINEERING AND TECHNOLOGY
Alcmuri Rotnomolo
sba ieeg And lechralgy (Run by Koti Vidya Charitable Thust)
(A Hindi Linguistic Minority Institute)
Astnrment no.
Explafn teature & Archtecture of &0R6?
Fe atures of 8086
1] ît is a l6-bft -.
ProcesSor. Thfs implfes that
(a) It has a l6- bit ArU that can perform l6 -bft operatfen
cfm l taneously
(b) It has l6-bt registers and nternal clata bus.
(e) ît has (6 -b t ex ternal d ata bus.
memorg
L6 -bt address Lnes to access T0.clevfcei hence t
acceSS 2l6 = 26 x 210= 64 x 1k
64 K T/0 locatens.
1
Specfal ekeatune &D86.
&0&6 pip eltned procegsor
a two stae piplfning ie. fe teh,stage thet pre fetcha
n the and
P to 6 butes ot nstructtons stores them queue
fnstruLtfons.
Execute that executes these
Page No, 1
Ta ARMIET
AJAMA ALAMURI RATNAMALA
e00NSTITUTE OF ENGINEERING AND TECHNOLOGY
Alomuri Ratnamala
Institute of Engneering And Technoogy (Run by Koti Vidya Charitable Trust)
etubanl (A Hindi Linguistic Minority Institute)
mem0ry banks,
morymemory b an
1kIng yctem e. entire data &
not stored seq
ory is sequentia
dvidend fnto two
engle
banks
"memory
ry ot
S1 KB
tah.
1 MB but the
memory
’ lhe banks cale d Lowen bank Cor even ban k, be cawe ft
stores the data ytes t even lDcatfons i-e. 0,2,t...)t
Highex
ct odcl
Bank
ocatfonse' 1,3, 5.
Cor odd bank, because t stores the data bytes
PageNo, 2
TH ARMIET
AAMA ALAMURI RATNAMALA
Alomuri Rotnamola
o10 INSTITUTE OF ENGINEERING AND TECHNOLOGY
nsi oEgneriag And lechnology ot S (Run by Koti idya Charitable Trust)
obtant (A Hindi Linguistic Minority lnstitute)
Memory
Intert&ce
stream
dlalaK 2 Byte
&utue
CS
Eontrot
Sytem
15
AX AH AL
Bx BH BL
CH CL Arithmnetic
DL logfe unft
SP
BP
Operahds
Flags
Page No, 3
TH ARMIET
ALAMURI RATNAMALA
Alamuri Ratnomala
INSTITUTE OF ENGINEERING AND TECHNOLOGY
hshtn od Englhing And Techology (Run by Koti idya Charitable Trust)
(A Hindi Linguistic Minority Institute)
not f .
Page No,
TE ARMIET
AJAIA ALAMURI RATNAMALA
010 INSTITUTE OF ENGINEERING AND TECHNOLOGY
Alomuri Rotnomola
Instie ofénginring And Technology (Run by Koti Vidya Charitable Trust)
(A Hindi Linguistic Minority Institute)
Physress
FHFFFH Memory Hlqhest
Address
TFFFFT op (Es)
Page No, 5
TH ARMIET
ALAMURI RATNAMALA
oun INSTITUTE OF ENGINEERING AND TECHNOLOGY
ai Rotnomalo
Alomuri
(Run by Koti Vidya Charitable Irust)
hsiute of Enginering And Techrology Institute)
(A Hindi Linguistic Minority
3 Aj6/Sa
ADat
ArtS
26 A8l Ss
AD4 1 Aq /Se
AD9 33 MN/Mx
ADs LO 32 RD
ekEt+
12 READy
GNDL20
21
RESET
Page No, 6
TH ARMIET
ALAMURI RATNAMALA
Alamuri Ratnomala
O0 INSTITUTE OF ENGINEERING AND TECHNOLOGY
((Run by Koti Vidya Charitable Trust)
hsâute di xgjineenng Ard TeshrologY
tabient (A Hindi Linguistic Minority Institute)
* Lk
* READy
It 4 can acknowlecd ement trom the aclcdress memory Or Î o thet
it ofli complete the dota transter specially meant for slow devces
Samples the REA DY input betoeen T, enl T of a M/c ycle
- Jf READy pin s LO w uf serts a t - states bet ween t, cnd Da,
until READy becomes HI GH
Supply pYns
Vce ->
Used for po wet oe. t S v on Vc w.rt G .
poem supry
Ioo ceparate GND pins for two
layes of&O&6
the nofse refetfen.
Page No, 7
TH ARMIET
AR ALAMURI RATNAMALA
INSTITUTE OF ENGINEERING AND TECHNOLOGY
Alamun Ratnamala
l hogne Ad rey (Run by Koti Vilya Charitable Tust)
(A Hindi Linguistic Minority Institute)
) Ae/S,- AnSe
These 1?nes work Adclress bu (Ae .... A) cluring Ti
evey Me eycle
on scls these Lines wor k ous Statu
the status of the me nory tea ment Curreat
H)BHE /S,
Thee IPne carrfu the BHE T1.
BHE and A ae ued
uedl togethe to CAeeeS
Page No, $
T3 ARMIET
AJAMAALAMURI RATNAMALA
0 INSTITUTE OF ENGINEERING AND TECHNOLOGY
Alomuri Ratnamala
hsbde t Enginening And Technalogy 0 (Run by Koti Vidya Charitable Trust)
(A Hindi Linguistic Minority Institute)
G)îNTR.
Thfs IS a non-vectored maskeble , level trgg ened interrupt
laut clock ycle of each nitructton.
tampled oluring nfnterrupt on ÎNTR Ine, the up executes 2
On receiv+n
pulse.
First I NTA Pudse the fnterrupting clevfees Pa is ndfcated
clevfee cal culetes the
for fs interrupt being ccLepted whfle "the
vector numbe.
TEST
1fne cedlcated for sO1 Co
input
Processor.
conhetel to GND. Tn M axmum
lnm n mode Pt fs
Coproc essOr busy Yt th)s pFo HE GH.
makes thÉs
Mode whenev the
TESd Rnput WAIT dnstrwctfen. examined by the
Page No, 9
T3 ARMIET
ALAMURI RATNAMALA
00 INSTITUTE OF ENGINEERING AND TECHNOLOGY
Alamuri Ratnomala
nstiute ol Engineering And Techrology
Trust)
(Run by Koti Vidya Charitable
Institute)
(A Hindi Linguistic Minority
MNMx
This is to &086 that ndic ctes the
procesSOr hou
an
fogut aanal
to work hich mode.
- Tt the Ps Pn Mioimum mode fre.
Single- ProcesSOr
afgnal
<ystem.
&086
RO
an active low When it fs 1ow go&6 reads
from memDry Or n
output afgnal.
î/0 levices.
PageNo, 1
TH ARMIET
AMA ALAMURI RATNAMALA
0J0 INSTITUTE OF ENGINEERING AND TECHNOLOGY
Alamuri Ratnamala
nsthe of Engineeriang And Technology
(Run by Koti Vidya Charitable Trust)
(A Hindi Linguistic Minority Institute)
(iv) EN ---
-> Minimum Mode ft carrfes the DEN Tqncl onel Ps usecl to
In
IC &2 &6).
enable the Deta tran ceiveu (bilire cto ncl butteu
-> In maxfmum Mode t carrfes the S. +gnad
ivento &2&8.
Th Manum Moce Bu Controller (TC &2&&) qenerattes the
for 82g6.acetas
DEN
4nMfnfmumn
Nata Trang mit or Receive.
Mode t carriesthe T /R
fnafcattn
- This siqnal qoe low for a read opercaton anc hfqh tor a wrte
bperatfen.
Tn Marmum Mocde ft carries the S riqncl. S, is a ctatus ftanal
to &2&8.
Page No, I
T ARMIET
1A ALAMURI RATNAMALA
TECHNOL0GY
INSTITUTE OF ENGINEERINGANDTrust)
Alomuri Ratnamalo
hsitte of Engine ring And Technology t r t (Run by Koti Vidya Charitable
Linguistic Minority Institute)
(A Hindi
(v) M/io- S,
-> In Minf um Mo de ft caies the M/10
Rgnali, to eittng
betweenMemory and dd acceS.
vii) JNTA - S
In Minfmum Mode t carrfeu the INTA
t s fssued, în reiponce anthe to an fnterrupt shgad. NTR line
-> It fs usecd to read the veutor nunben torm the cerruptig
clevce.
n Maxfmum Mo le it carrfes the S, ngal siqnal.
- InMaximum Mede, Bus controller ssue s. he INTA sqnd
to ( oS6).
PageNo,
TH ARMIET
AtAMA ALAMURI RATNAMALA
E OINSTITUTE OF ENGINEERING ANDTECHNOLOGY
Alamuri Ratnomala
hsiue of Enginering And Technology t de (Run by Koti Vidya Charitable Trust)
(A Hindi Linguistic Minority Institute)
&D86
tfrfng &086
olfoaqrams?
are carrfed Dut whPh
dns. i the pperation in SLpart
sequence in a synchronized manne,
to unclerstand
Kso to' unclectan dd every ope rafon t øs hececsary
the tfmng cliagram foy the readl
Before, qihg nto the eletafis öe the tfmfng elfaqram
encl uort operatfens, we wu frst ele ffne soñe o the Pon portant
terms
Clock Waveform
The clock waveform repres ents the Crystal controlled gnals
sent to &o&6 Erom an external enerator
elock qenerator usinq &2&4.
gene
T- State
of clock fs called o T-state,. The tÉmeus
One
eomplete ycle
intervals T, or T are the examples of
o T: state.
AT-state is measured from the fe of one clock pudue
falinq elge of the next clock pulte,
INSTITUTE OF ENGINEERING AND TECHNOLOGY
Alamuri Rotnomala
hsute of Eginerng And Technology
(Run by Koti Vidya Charitable Trust)
(A Hindi Linguistic Minority Institute)
inlt234
1 maehine cyde
one
state state
Machfne yele
Machfne' Cycle
>lhe bautc mropro cessor operatren uch c reading machtne
a byte trom!
port or
worfting
to memory C callecl e
byte
The time Jy called cs he machine
yele Thus' u machine!
eonsfsts of sverl T- states.
yule
* Initructfon Cycle
Ihe tme micro prDcessor needs feth and execute
one entire instrutien is knouon as an
instructfon cyele,
p:5] Explain minimum mocle conffqunatfon of sOS6 mfcro
processor?
Page No, I
TH ARMIET
AANIA ALAMURI RATNAMALA
3030 INSTITUTE OF ENGINEERING AND TECHNOLOGY
Alomuri Rotnomolo
rstta xgnigAndTeshrobgy (Run by Koti Vidya Charitable Trust)
(A HindiLinguistic Minority Institute)
CLKd
Address BHE ow Status out
A
AND SHE/S
#LE
RO
DT/R
DEN
t ta ta ts te t ts t tib
Step1i- The-80&6 will make M/Io 1 Pf the read rom memory and
M/T0 =0 P the read s from. the T/ device. memorg
Page No, IS
TH ARMIET
AJAMA ALAMURI RATNAMALA
D30 INSTITUTE OF ENGINEERING AND TECHNOLOGY
Alomuri Ratngmala
Insiute of Engineering And Technalogy n st (Run by Koti idya Charitabe Trust)
(atuitent (A Hindi Linguistic Minority Institute)
Step2 i- At about the came tfme the ALE Dutput is asserted by f
step3;- Make BHE Iow/ h and sen l out the desired adoress
On AD, to Ar cnd Al to A4 nes.
Stept - Pull cdo on ALE ( makes fte ), The address latchednto
externel latch
S\epSi- Reimove the' address fronm AD, to ADiIhes and put then
in the
fnput
mode (floct them).
Step 6- Assert the RD (real) sfqnal lbw. This wf ll put the olota
from the addresstt r&einory tocuton or I/o. port on to the olata
bus.
Stepl;- Insert the'oct " T- state s i the eog6 READY Tnput Ys mad
Loo before or
Step SOOn as
dur'ngXEADY Fnput
theI t a t e of a machine
&086 comes Out the
uoatt T- states angl complete the machine
Step 9:- Complete the Read" yole
the RD lne
(înactive ).
ycle by makfng. tah
Step 10:- For
(t2R6
lagus Ihen
transcefveu) yrtem the
need to use
bT/R ancl
the lata butte.
SEN &Yqnale ot g0& are
conneted to &o86 Cnd enabled ethe PproprYate time.
Q-6| Whet is maximum mode tf &D&6
o the bus controlley Dc S2¢g the othe
Suyport chips.
alongquo?th
-> AoldlitYonal creuty fs reqired to translate the control
.The accitie nal cYrcui ty cohvects the statw dlgnads
(s- S) t /o andmemorytransfex siqnals The Dntel
82&8 bw cOntrolley s used for this
for this purpore. It qenerates the
Bh
PageNo, 14
TEN ALAMURI
ARMIET RATNAMALA
oso INSTITUTE OF ENGINEERING AND TECHNOLOGY
Alomuri Rotnamalo
Insihe of Engjineriog And Technology n (Run by Koti Vidya Charitable Trust)
(A Hindi Linguistic Minority Institute)
Page No, !7