0% found this document useful (0 votes)
15 views12 pages

Coa 1

Uploaded by

Tejaswini Beri
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views12 pages

Coa 1

Uploaded by

Tejaswini Beri
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Anst

Dot *
addess depends
instbuctions
fomat
the Each
has 1.
Code
111 the +TFe qal
*Aemoy * t
Discuss
renaning
ioput Thevefeena *An test of
a opevatio A
emory
vence
istav COMPUTER
The CoMPUTER
1 meeded.
onstucbion.the
-output opeation iostuctien
eferenca
Tegister
iP-utpet eqste to
'o
cod op basic
sith a code about
memot to the Dne the INSTRUCTIONS
diectfor
operation bits12 1evejove,
(oD) othterhe 111
eeo computes
bt conteins
gegistes.An Ac operation ORGANIrATIDN
computer
Addre5 test l6
gpegtion otth a to
ne bitsThe
to addess
instuction -
a) be intctioo specttethe ttee has
code
best used eDCuted. (o three instructions
iostuction operation
bits
operard in ve
(opuodu:performad. fos
bits1a spoci encountered
uses &
to tbe 4 &
instnucHon
Bos
addvesing ARCHTeCTURE
bit the
speci etmost 1a code RotlClass
No
does mermoy forn nditect
ecegmiz
o
by the the
speeifybttzremaising
to
Dot Used
operation(o)on (op
the ed mode cde (AtML-A)CSE
bit address. code) 212IA6666
instuction.
operation
type mead
(bit by fomats.
I1 paot 1.
is 15) the
a
specitt is
o
postiue.
megatiue.
eo tbe
is is conists
is is
AC e
and
E
AC Eand
Ac Ac Ac chanacter
om
Ac
t t
& ib Ac flag cyce
Descspion Scip
eat
instuction
instuctior
instucion
instuction
characbes
to fog
Ac output
Crcutate
ight Deseiptton put Dnarupt
obts iostucion
|Reqfste
z7sene
tnstnuetion: Compment
Compiment
Ac Halt
compute Doterpt
on
cloasr
Ac clearE încerent e te t
chculate on on
pe OutputSEip
Input stip
SkipStipSEip bput-qutput
instnuctton?
B each
code
Het *INSTRUTON
ycEt
Ibac
conpute
08D 70a07O10 Her
code Sotlbusing
phases:
FSDOFHODFaoDFIDD FosDFOHD
Symbet Symbet
CLA CLE CMACMECIR CIL INCSPA SNASTASte HLT INPOUT
SkI Sko
2
BaoD Tt
reyevence
addressingi5,
the meMOY Saue
etum
addsess
positiorntype. 20
12
through
Doo)
Ac. AC
fo)
memOYBranch s
unconditonaly
into
=Itt, memor output it
io to
code btt DesciptionADD
memoi
Ooc Ac i
FORmATS
poSions
Ood
(op input srip
a as
poEions
the Tegisbe D
INSTRUCTIONS content
is taken membry
Branch
nd
ibstrichon INSTRUCTON
insbction
then
inspectsan
a
Ibvernent
in
operation
Regtster tnstructior poittornin
isI5 is s Stose
operatten
î/o instnuctioninsbmction'r And
btt bits instuction
COMPUTER
refevere code AxxX CXX*DXXXEXxy
the code
He
code
outpur op 1,
contol
op the the ehee
Basic
o ,4, 6xxx
Raglste / to bit
thee the
Input theel, is
egual is
bo bit
b) ) the .modeît
the bit MemoySqmbol
equal the AND ADDLDA STA BUN BSA 1S2
Tk Tot type
5
tss
Ih
1
in7omatton equuallb-bit
s at the tbe
decimal
a
unit egistens. to
connecbed =oll the
enablad
io bus. Lines The the
qtnputs clock
bus uae ohen
itbus
memoy on . SiSiSo to
Common bus
in7omai a is mezt
trans7e Îs
DR uoben Conneched input
the
a memos ae of
2. the
, to fos decimal
a egsters trans7enig Kom
the ines
output )LD(20ad
duing the
wth ded shoos
selection. are the
data
beuoeenuse memo selected
poui bus
to of bus bus conbents
negistes elght output tbe
be (s B delTmined alonthe value whose
Bos regstersls
another reqisters Se,
St,
So. binary and
Comnon the
has must that actvated.
conputen
SySTETD scheme each btrang
egtster the
plaud
umber fo
egistes
computes
Pathsto output veaived ecieues
manyseven fs along the olata
ettelent selactiorn
vasiatbles
about unit.reqister buS.
the
ave
the frm
Pulse
transistion.
Eime
Specicic each panticulo is
uotho COmDO rumbes DR memoiy
baic theearnpe,Stoco
isthis the input
control given lines
Erplain one Tmore
from
o/pis
menetTecieves
The Systern o outputs inputs
Te
The*A any The -entFor
he The The uoite
* tbe * *
a ** *
instuck
the
f
memoy Noting
oldinect)
Temot IRU2-u) o
(Memory
re7eence) Teferere
insbnuctons
Decoda) Erecute
memod
fom
T DR
MA],
in
PL&PC+1 AR< (ardtrect)=)
from addsess ÎR(o-),fe
îR05)
code
addsess AR-M[A
etectiue
oddess
instnuction To Fetch)
instucAon. instruction. To
Stant
|ARP operation
SC-0
ehtectiue
indirect
Raad
=1 (reqlete)
o
(Registeva)30) însbuctions
Tegerene
reaisteu
Erecute SC
4-0
Decode
an tbe the Gecete
tbe
bas
an
Erecute *Hoochart
1. Decode
Fetch Read Instucton
Output
Înput
Erecte
Sce
o
2. 3.
4
o's. the egister.stanilca cieut
Ac.
togic data
roglste
bit to but trom cLR(clear).
each
sine
they onlay haue
OUTR al operattons asthematic
tor
lb set bus st must o
the bus, inkpmatton
the outpus
the loast the
ane
to the tnto egister bus. o & AR address. neqisterthe
mico brom
to INR(increment)
applied
bits eight inputs ,
thus
fom fDm
inkomation addey
an
the
trans7ered
siqnifcant recieue ipputs,
bits the
output AR memot bom Used
irgormatiorn infomaticn the Ac.
Come
1a th urßt. to D(Load),
to
shitt
haUe PC tbe wi bus ome
provide connectbec to
tmplament inputs
o MDst are
bits 8 communfcate comon memonyconnected
ave a sets tnputs Ac
address.
AR ecieves CoMe&
PC the
memoiy specit
INPR recieue Ac bitsDR
brom
inputs
B O four bus. to baue Ac tbyee
AR contents iicantregistes conectedthe the addyess
is bit Such
as
compliment
tb
bold
amemoy Common
the PC
bus, tbe
ory to (b of
oh veqisters cincuit
The
bas
siqni in
linessir lines
Tegistess used inputs used
ase
set
o eachLsB)
input
the AR is vegisters set
loast bits( COn bus be lo Anothey
hen INPR lb
oben
The bits UTR The The
FRve The Ore DR.
The
* * 2 3 -nt * * * * tk *
Buc: che
oben
bus
omon Bus
Clodk
he
S So
cornecbe ontD
SSiso
|
=.
DUTR >>
output
Read bus
Untt
Memory cLR
ae CLR CLR CoonDDn
bit and
Xlb
HO96 CLR
ohich AR INR PC
INR DR INR oAcINR l6
INPR INR bt its adivatd
LD b plaas
Tealsteys
Basc <Ke
is
Aithme put
unit
ead
rsr
buoD base
the tuobas
compeuters
*Digttal computotional
late aious a. INPR, end and
tntge
Powesasquantity
by enpandig* by The *with
contiast In
The ,
task *The Tntroduction *Abtop D
For The * Oganization
thid E ogee
mulilying eample, decimal used
|440s
weve fivst diltaldiqital DR
Cay-out
(rnded
that
can be to
set mico
electronic AC
equiual1nt numbess
s4sbems
binany to cpmpu: ot
into tt compube computer
eoch the the s an
foueuos. ad1.O diital Ac operations
binay cooon use bit
diqial bit). the
poeU
bit Corvebed Seies a addttton is
inputs
the is
ochibectue additton
bymunbers a prmary ,
a corputrs
the birang deimalbinay binaycorputs,
Come
such
digital
base to is
Dumbets callod is
digttumbe trans7ered as
repsesens mmbers
Use a
tr enplain
a 100DII wit developed ystem trans add DR
to
decimal
mumbe1 umeDcal coTputes
aised base
the keved
found
acanbe tat to
base
System,
obich that computer ioput
to system 2 in Ac
computatirs to
an bit: a &
t emplog the pgoms vegisteO tip the
2

the daa. & |functional


entities:
|. When
used|decimal
in 4
fos 8 *three Handuare. |*A Houoeuer SevenThe |X2
ime.
Tetieve Logie Te Tbe
PU Computen the
barcware t
stoing Centralmajor
pas. +oxa+ox2441Xa
CanCaled as unit alphabet. eoivalant
,
this
theacCess bits
Proessing
it fo Systemconjunction qoup
biray data,
manipulattng epresent
1D01O1
is a
RandoT)
Access the
Dt 5.
ioformatton & Unit compuber is tox2+Xa+IXa°
Cbcatio Sometimes withSeven
a
control
(cPU)
bits
data,
in cixeits contains is binary
wtthin Memoy vepresents
usually subdiided
into
tuD
memoy a number
binay
ohose
no. code
or 5.
a (RAm) an
gized divided
at instnuctions
anthematic boT the
be
the Lettes
intenalandom cause
into
lettes
k
tbetoqether
*-ted
compoents
bonduocre
opeate
oigarization
*ComputiY ts *The |b/o
tsThe devices
Te *tnclude
task CoUpub
vaious the for
input input
that
is comuri
keyboards, compubar
Othe
the to form to e
components output output Random
Acuss
computer Processing
Certial
Unit
tsestigat. comunication
gaiationdts. catirg proe
Irpul-
cutput
B
printers,deies (Top) CPU RAM
system.
computerthe the poessor
ave s
pants r controLing
outide
the
assumed connecbed
the B
connected
berminals memosd
operate (iOP)
Oganizational
stucture to
wold,
contains
te
as to
oaythe ,
oi magnetfe totiansfer
intended. be th
the
in tbe electooic
computes Output
deuicos
place dist c
Connec
ingomat
D tbe cncu

nto a with 8 * connected.


-ed Shouldbe
wbat * the
compubes.
Bbebauious
Computen aspect
*TRs * the of *
anchiteckualThe onpues CoputsSystem. Once Computes
techmiaues to
PrDcessors,
memoses task
compalts
syetem. banduaTe the
deign os deig
inplementatfon.
anchi Computes compuhes
the
for the the
bectue is
Compubes
in Tecture: banduwave should
aca-resing
dsgn fornattoncomputes conemed deignes is
specffeationsconcesned
is be
structuing
toqetho
them conenmed
ith
afomats, beenby
as used uith tb
memot
computer develop
bowthe B the e th
the someimes
veert is is the
tfomulabed, it
debeinationbardluooou
is
instrucion uses.the the
hancoau
conYened
structuNe pats
f
set duig
the
Ans
Rg-R1+Ral+) Ra +Ra'+l.
opevateT
RRobich D. aboue
Tbe *
4"
RiRIt| t-Ral+1 RaRepvesentation
tR+R2Synboic
Ri-R2 R R Content | Dn
Ri-1Rit oicopAation:
substioct In Substact *Aithematic *
Add Aitheatie Erpain
Tumese
Ra qets raioopesaten:
RitRa'+I tR
we RstRi-R atthematic
subsbacted
Decserment
the complement
Ra's TFe The egistex
statement Ri+R R3 dato
hement
contntsthe Complement take mico ico
pus contents
contnts micTD
Ra stored
opeyations
1's îE gpeYations
the Opexation instucts
sbould 8
ie,
compment is
ot Complimert)
(o's in
a's the Deseiption dogined Logical
Contents Ri Ri R1
the be
thedaals
conpiment contents
minus pus
-R2
contont instead the vegesbeys. oith
is brans7eyed by shibt
R R2 contents
O eqvalent add
ot ae fotlousig th
Ri or t
by Ra
banskeved to
RtransheRd R3
1 opvatos mle
theto
using
minus to
one cperations.
to. vegisteYstatement
register Ra pefomed
to egiste
R2
R1
&

* B3
* bts *ogie A3 Bo St So
B A A1
For treat The Ac
tup
erample,
opevaionsstDied
egisters therm
mleo
RiRa P:
Ri
in
the as opeations
vegsterS. Cn
comstdet 4-Bit
ercuiue
vaDables.
Rbinay
&
2 So 2 So 2
Ra aitbrmetlc So 2 2 So
specib MUX
each MUX
4x1 4x1 4X1 MUX 4x1
MUX
is -OR
symbotizedtheby bit
micoopevalion birang cheit
of
the t Y
opevations Xo
PA FA FA
CA
seperabely
reqistey C
C
usith
Statement. fos Cout D
the D Do

Contants
stings
mieDopeation to be eecLbed the
Booluon Function mico Opesation
* speciies a logie conbo Name
individual bits of the segisters pouided that the Compinent B
vaiable Pal.
assume that each
* As a numescal eramples has ComplamentA
four bits.
ket thbe conbent o R be erAUB NAND
kot the content D R be 00 Set tD al 'S
*The ezcluciue -oR mcoopesation stated aboue Sqmeoes the*AFPieations oic micoopesatiens;
Betioutng oge computation ; RI 4. Selectiue Set.
JOD Content 2. Seleciue Complimerb.
t100 Content
3, Selectlue eor
OlIO Conbent D} Ri a7ter Pal
H Mask operation.
Theve au lb ditterernt logic operations that can be 5. Inses t opeyation.
pestom
-ed with to binamy vaiables. 6. claa operation.
*The (6 Boplean function tD amablus y
enpressed tn algebraic bomm in the frst colunn. e table S
1-k.
So 4x1
Siabeen Kogie Micooperation: MUX
A S, So Output Opesatton
Boolean furction
Fo =0
Mioro opevaton Name B D AND
cleas IE2 AVB OR
FADB AND E ADB XDR

complument
Transter A (b) Funcion table

Transtey B
ercuue -OR
(a)kogje diaqram
Fq=(104) NDR
Eucuve -NOR
Sane themains
e umben the siqn
of becase
urchanged the
bit stgn the luave must sbigtsasthmetic Ary *
R. number
by thdivides
e tt-igbt aithmeic An 4
mumber binany stqmed multpies
a shigt-latt antthnetic *An
t-ight s-lhí ogical
(o)ight.
Shr lagt shitt -togical
legt the mumbes
to bimay shl
sigmed shitsa micDopevaHon
that a isshictAithmetic * R2
3.Aritbometic
sbiibt
-ihtR shibtArithmeHc RI
(abtR Arithmebic RashR
shibt
- 4-shhR Ra
gesterR -ight shitt cicular B<-ashlR
R-hlRi
agistberR t shib-t cicular R<-CisR eranpla,
registeyR -ight Shitt micoopesattons. ight sStt For
reqisterR lu6tsbi7t- R<Sh
R
la2gt shitt logcat shl
fo shsmbols
&
RShl R the adopt altnput we *
Descsptior destmatBon Symboic seial though
the brans7ers
o that one isshitt Logical *A
RI
positin- latmost
R transters
bit a
tnput seral opeation
the shigt-ight Duratihne g into *
Ri poition. ightmost into
got ci-drcular
shitt tanses ênput setal the opevati
on -latt shigt
Duintaheg *
ett shit-ciculan bt a
il î/e. sesal tefrom
tnformation btnany recieues
ts
shittchcular espectively nght bogt to pbirst theshlgbed ane Bts
the fov dr Symbots
scal the that Etme some the At
inpur seial the
its egestev
to shibt shi7ea
to be canrester conbents
a ot *The
t cutp sesal connect
the in tbe the co) obt the opevations poasing data
tnkomation. byaccompi
shed
loss
of wtthout is is
antbmatic, coouncHon
thoi tnmed alo *They
regster ends tuoo toic
the otbts chculates
the shibt the aNound nicoopevatons st *
cincular The data. ianste sehal tor used ave
shtti 2.Circula copevations *Sbt
muttiples. bour
selecion connected
o SO 8sténesselectiorn tusp The *
bfts. uo other Lavly
he bo Smt esters
otb?h bour1 muEipleers
tbe MUX1egsters, the
tout multiplazas
the MUXO .Thus bus the one borm
segstes each n
murto
one inputs
of data connected
to e
postion stgr'tieart Same inbts the that shoosdiaqram, he *
32b Sht Ai!
shr Af-1
DoCoB.A lA. b, Ai
o E
chctt kogte BË
2I 3 2IO 3 ao 3
3
MUXD MUX1 MUX a MUXB
HX1 1
Mu
4X1
So
So
S dit
St
Bus amthmetic
Common ste one
4-Lne So
Si
epSo Si
î/ps selacion tD thugh
x inputs,o data S
bouY hauing multtplazs
each x! 6ouy connsts bus The S
cugh> tbs mumbeved
o bits tou Tegister Cach Cigci)
has
shaon
in seglsters
is Hbor
system bus stucton
a con The
bus. the om placad then tomation
is tm
binasy R
oboDse staY regi Source the multipluzets
seloct multipleUIs
Tbe R
with system
is bus Comon constucing way one R
a
Ri
Sb'ct-agt -anithmetic ashl
MULTIPLExERS sINe BUSCOMMON
buutb Tri-state mutiplazersa
shit-igbt ash-asthmetiec
umg busCommon about wite
conneched to No moe han One
The tuop selocion lines s, 8So
ane selection qéven time. butter may be in actiue statt at any
be connected bueis must be contolled so hat
"The Seloction lines chopse the
bits qt one comput rogste, thee-State
butte bas access to bus line uobich
only
common bus.
tanser thern nto the - Line cohile all
othey bubters are maintained in a high-impedane stotte.
" when S, So 200, thenO data inputs ot all kour multips To construct a
ar selecbed B appied to the outputs tbat brom the bus commonbus for H 7egistets o bits each
tyee-state bubteys. we ned i chceils it hout
"T5is Causes H* bus lines to ecieve the contenc oeqiste bukkes in each as shoun in faca)
A ine the outputs bt this egisbas ase Connecded
to the each qrcup tour buhters gecleues one siqniieant bit brm
O data
trpul's mtiplzess smlanly egisber Bis selacted H egisters Cach comMon olp produces one o the lines
common bus fo a total D nes. Only one dacodey
.Tabte(2) shows the registerby bus bo each the is meces savy to select b/w the H Tegisteys.
Poseible binay value ie t of the selaction ines.
Bus éne hor bfto
Ao
So Registy Seleched
Bo
A
Co
Do

D
S
1

So docodehy 2
HREE (TR) -SRIE BUEkER Erable
The
CDog Bs syLTem
consbuction a bus syste with
dornonstated in Piqca). ti-state buhtes in
4The cps tu NOTE : Here E is decoder is to enable the decodey
buttes connected togeters to soma
sing bus Ene. E | or) ik E20 it is disable.
he conol inputs to buttes " Select ine ave înput °nes (sosi) ane to Select one the
inputs wil detemme oblch
communicate wfth the ot the po
bou outputs
bus Line
eqiste fous (AyBi,Cin
)Di bit 1
epyesents can similarly
we eqisbers t al co.Do)
Al
Ao,Bo, epxesenting
o orly taebiqure above D2D)
in
are
Do,DCo,tetiCa,c
I e eo, Ao,Al,A2)
E AB each(ie 4-bit
considerigBl2,Baee
H are obsenue,
witTegisters
h we you ik Heve

You might also like