0 ratings0% found this document useful (0 votes) 35 views39 pagesCoa q3
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
| \alintort 2096
psw 9 Esplain—each bh ok
Heb p
| ig Shows tu block raga of oun
6 pit Ay colth q 41 = bit rates yee fous stodue
bib war pus lootzed foy C,5,2 aud y. Ta bits ave set
or dead 08 a yesult o¢ om oporrshion porbormid
ih the ALD,
I
Oo le J
J :
ll |
L.# €Ccamy) te set tpl if ata ond camry tp
{Tt it dianad to @ if thy anny Js O
i@. Bit SC sign). set ts JE the highest ardor bit &
“A, via Yerca
[3 Bir a fe set Ip | i thie eutput of ALU contain
ah} chong. hs O othemwiie.
1 Bit VC egtina) is- for the 8:61
“yhan +121 9% —
ve tla stds bits —
_ AW opeutaction —tn lates mains _
& an
6) Waik Ave fos __aoldition nt _10
Br Ora 100 Login oF Program ic HE
= - Loa AL. Loo d gest Rela ve8S of |
| STA PIR Shore in pointe’ i
—— ul n u
| _STA cm Stave in __covaten t
: 4 CLA cleo Accu tulad
- bbe ap PTR I. Add _an_operand te} —CTR Hex O / location for counter
Som, HEX 0 Sore ee eee
ObG 15D Lies eypond
Dec 1
DEC 2
Dec 3
Dec _4
DEC 5
DEL 6
Dec 7
pet
DEC 4
Ob 1 ran
enn / enn og
Syuuboilic frograunSCO List and Explain
in cletasls
Ao | Meunory ~ Riterenct
-y Mewmoxy— —xetenenss —inshuctinns any -
ov iosmirHows wold 0 te. tat eae
-___ythencnct__+m_the _gntmory eine
4 wu
Lf [ooo ~ wo Addveri 1
= a iar ene wefevencd Pnchuthion ant at
——— i) Arp ——T
le App bp AC
3 Thi tnchustion __arlds
__||_spetitied _loy thy ee er are ae to—cth valve of AC,
0, Ty2 DR & CART
D, Tei ACS AC+OR Ee Cog | seeO
© LDA ¢t Load-tp At
1
=> _Thit ine
Speritied by thi _citective _addyeit to AC.
DoT, . ORA MEHR]
OTe. 2 ALH OK “HO
2 Boni ¢ Bxamch unconditionally
pe Serna ioal
4 ‘ e f ,
spediiied Joy tne etfottive _adld-were
Duty Prw AR , sc-e-0
le gan 2 Bwnth and Save Rebun Addaent
loThis —gpghaustion wiebul fox —_baanchtng 4p a
ull ul int Oy
.
potion ot —4ne _pmogterrn Cle _q__sulbrputini oy
addven ef the nox Inshuttian ia _Sequenctt —inho—ae ae
Dg Ly: MCARL A pe re
Do Ty +P AR ae gg RAL
Dotyt OR 4 mCoey
O. T, > OR pay
©, Ty i Mort <= be, COR 0) tren
Cpe Peti), St eo(a) Design a _obigitaA ti ~bit_o'e
add ett »
ug_Binasy Adds
t a o
| Sum Of two _binaty numbe: pf any lenains
calle 9 binany adder -
|
Tr binawy addons tonshasded aot | = des
__civtuits* ronngcted in cascade, with tng eertout
cosy from one fulmadden tonneckd to pe
|. By A BR) &
{ tt tT 1
FA FA ra fT ra Foe
1] I
C4 Ss So s16. 4 leit output Dy. Dg —
a
“ue digiuan —0¢ ao’ -aouithaeentc eet
belo, a
i6.9%) Dow and explain __m iv
second pass _of ‘toute
Avo + Machine Loshnuchions out
Second aus __loy —yneans _ fonciaed g
2 Thi_assemblon uses howe la
1s Pseudo —inshudion table _
9 MR] fable
8. —Non-= itl table —__ __ —
_—_—_ ins Spal ee
Sea
Fly turk — pon foxrat
Yu _seroncl pas ane described i |
‘et_figua lA). in
4 q_submutine — hod sets LO —
+ A mosth wit END— “toyrat
‘An —oporand _psoudo. “ipskuction—
ot ta operand lato — binatys—
y Tas —openand it
speshed by hs
|-y ‘Ta Lowstion to ynstur
|__Iine 08 code istha symbol enounterecl
phe assembles aches Io rik] table
Sth syrmlool ts 1004 _ fone eee = 2,
dw avembles sefengs Im the non = MRI table,
thxé_sysbolt, Te second symbol it a ssmmabolie
—_eddvets awd fea thtvel, wahtela Ynoy ee amaty oot
___preseut tr the Jotten To.
The symbolic wcldvess 5 aonventd Sap _bincrsy
— The —fiec pit i __set__t» Oo |_, depending
po_whethen —+th, lefty I absent oy present
4 Tu thea park gf thy —binory _inshvetion
———tode ave astembled and then srprecl_in the
-——tmumexy —_lvcahno pecitied by conten of Le.
~The _atcembley tontinver > prow te aext
___ ine bey facrementiny Le by teSeas al e3e Sy
dente tor bine
equivalent ©
: Spastic exclel ves s
Ascemble alt Ger of ed
teinary ¢ntiny Chon
store lin location ‘wen byx= D =
# 1A
Th 1s am insheuetion _+nok _Cleare_the AC
value and or ts nO
bTgs AL 40
(MA
—_rthis is ti yb Gee
alue ond sts it 4 _Ac_only. -
STs: AC AAC oe eo
| _ oo :
sis is an —inshction “tnet_ Tneveace the AC ___
value by Ls pit qf hone bene vest fo AC
Tat ace Act 1, eo __|Da
Aas
tb) Explain BOO adden in bres,
Bop adden whens Ww a 4p
: binan
can add hoo AbiF Wool py ao te
“The putput OF tht addibion ka - Bip, “te
output word , whith cletines
the addend Gad — augend
‘x eaed 10 eke thic 90m
valve of 4, :
Thenedxe, BCD ooldens can jj dein,
Addition - a
Tha Sern
value of A and Ban aries fen
{000 in -binany) to4 C1901 tn _tineny) because
WL on considering —olecimal number.
\eonsidlening the tastes”
tht ynox imurn Valen’ pe will be 14 —
Cee 949at = 14} when _ use ane _almply eal
Qad By tun “We ge tu binary sum"Example oe
be tu Fes)
Put ta Cp svi will be 1 oor
where _|__t: 990) in binary and
Si _Olol bina
Nox 3
Jf the Sum ot hos number hh leer
— than oy equal fp 9, tun the value
_ Cf BCD sum and i will
be same otherwise they will _diften
7 by 2 (oo inSade Oxow and explain mia _pi —_-
- isch win cliag%areo : 3 mm See ace,
Seq yoneon t=
Miro pavgiam
~y Tt is 0 cambinatipehion of all panels.
othe next micmo-inshuchon ware
2d ve,
Selecting
The wmiuro —tnshp ction in -eonktslmasieay
+; —spalains ser of bits _tp__tnitice pater
- epenaheos— _tn com eating
yha_entihed by whith the dates 1
___-Speti by —
—_pbstained s——tershreetiewr cect
3
re baa Multiplexe’- A
|
| 7
z = a -
Register (ene):
~ ae cola! Addyew
_ Contre) adder. “aogier
__aeceives the addres — from fou dhrffevenh paths. For
__seveiving the caddyerses from fous differnt anes
__Nubtip loco 6 used.
4 “PHubliplows ¢~_Mubtipleen — 5 2 combinchinal chet |
whith contains ynany—olata in pub and single] Ovipud \_ | 4
_nigrmal input A : ad t
Tt tah wmpedoma |e
tonmel apr e = He c=0 \\
a
—S - | te
-———#T_comsinition ef a bus tua _uoith fot —}—
rit hutten te clemonsbrated in Guta — fsHy 4 ndtent "axe connectecl together _
_{E . toniee| inp soil now decide whith
ty, 4 npymal inputs wail _communicale _
worth the bus tine
[cia tod __@nsuat the onl —
Ove tonrol in pub 6. ottive at a _i'me
ta sonst temnenon Qua Be fous regions ——
2 _n_tils each _usln.g thane = shtte but fers ,
we ued 9 tives —_wweth —_ favs _burtfers _te_@ ach _—_—.chao. nin LO
of explain delay CC
pe im P espe ise —pipeline-«——
|
ad ——
do | Delay lo
compile
Somehimes
cata 0o”
“Te copilot
datcot
to
pnsinuiton as necessary bo
or th confit dog data by?
tmshnution., 14s racth col__45 called —olalay |
Excwnple for RI 9C “pipeline
Je -opp
i Add @4 Re
al Shove RB
: Cripelns with ctefayed ol '
Load)a
|
ee
iIs Bust poss re generate: a
> | Dusting Hu — it a
"D vonrelats all —taex-defined —addvere fey
Fras pat
“Taree T
2 pa sean_ ret ting OF =
E,
Stove ‘Symbol in, co
——|*
table fogethen
adders sywbo) no Eoy 4
gs Tha —mgjon—ehaoattentia—o—a1s¢—oaas_fulows
|e companed fn nexmal fnshuction’ they have a
| oe
__|__Lewen _vmbenr OF _Inchmactiona
lle i SC -e
Louren\
| oN
| —
Ana A fows- segment —_Pnsknack pledlina ag ~~
. ox more different —Segmants an . ,
| Single one. For :
| tshuthon oan “be combined with 44 {
| of th _effeskive eld — Into 309 gy
ae oS
Tht ‘elhowing- blow dlggeorn —eheuis_q
- tt ee on a ont tahatinn
7 / a Wet F ;
—tnshuchion —cyclt—k_enro pleted to uy
ex
- ! . Veodr bie ;
a adelers ima or 7
4 Stak the yndjov chasta ctor istic,
Z|
ios Thi major chamacheristic of
pm te
i coe
pa, A larger numberof. Tnshuchions= typically
@ feom___100 1 950 —inshuctiong.
Lie Some ——Loshructions. —that_penfrrm specialise)
—todks and ore wad .
pis. A 7
bypically from 5 bs 9p dit Gent moder
4.Vowoble~ length —tnshuttion «remote
oo =
tt ing modmy ge - —
1 —detfeien! ways af
+ —Spestbytng tae location of an cpenand —in_an2
. ae
“lypo_ef Adelvescing Modes ———>
Im plied acld ves ing- mod ——™~
—_>
4
&. Immidtake addres. mode
S$. Regist Aiveck aessing —rnods ™~
A Register Indived— eddxestiog mods :
6. Autintrement —or _ Aus clecn@ment mod, |
€. Dine oddest gg noodle ————_ .
Indivect: cuivetigg anole
8 Relative addaeising mode
1. dnd _addereisipg —modt ———___-
10 foie gute adi — mala ——
dt Im ph —Addteg_snedt ———~
da this —addaesing meds, +
oe Se ee iinaton Sele
She operands —irnplis ly»
Example t=
© Tho “to Suction "eas
isan implied — rode trai
dy trod tae Addversing on salt
An this cdekeen ing, ‘nod » ie
eI operand Is oa oe
edo othen words, an. imnedaifmode
= a0 perane Iald vet thn aoa \
vision!
pastevr _
ee ,
» Add 10 will {nexement. the valve stored in| ™~
| ;
| vielual —rAMOY FLEX olaie,
Qa 4) What fr
F auleeets spac and racimory OME ty sry, hy
xnemoay syatemne
|
uy | Vivlaal gnemoay
yf
[o Vivual memory 4s used to Give bogey,
| the Thlusion that they have a veny hh
|| amemory th dhely disposal , even thaugn
| computer aetually hos 4 velettively malt
sain paernony + ee a
lo A Vietual memory. System —_paovi'dis a ae,,
|
I toe dvanstading _progtiarn. a generate _addvers in,
correc main _mamony locations. _
TB aa “aan aad by a _pamgpammen— wlll
“EF called aq _vixtwal __doldweet , nel set oe
+ __acldvestos _% Known as cddyers spar
Locations _catlled tu narmory Spat.——Fanliony Memey
10
Addvess spacs (024 k = 2"
“) le =
Concilest, main —rnoroey having a
—ecparihy of 39k words CkK= 1024), 16 bits
momen, span by mM, we
Meso k,
+ Ina _nabipmpraromi(g compiler system, prgitms
—auel_tafosmation aa meved tr and Prom. Wi] Fory ary pay
‘Sind waaiin _rendeneny when ravedlool toy the CPUs Suppose
Leoyont tc prosenily teeing implemented —n thy CPU, Progam)
aoe ils welaied dala cme sent from cmneil tary
| 7 —mitanory displayed inthe —#qunt « __
| =
3
aIL. ©
7 [Place dara on bus. B
ate dale alt
| Recep Fala br
FPemitng Ci pace 8
Liming Di0F
poms aon
| . 7
Cate vali
/
re a
| Sequina of event.
_voit Destination /
~
7, Enable data att!
SE
Duabke dala valid. 7 : ;
“Smmediak Jaron
ey“(® Didderwatiate
—prgaam
al
mecl to aad —_Intervuupt
—Dpgeammd —tlo
jp
os Pu semaing busy {oth eo_wonlk.
Intovupt Initiaked 2/0
|e ‘the tlo transfor is initiated _
| by thr intewuph command
issutd fp the CPU.
© Thene is ne _nued- for the CPU
to Stay tn the Loop a» the
i i ts
|_ ready for data bansfex « —__
eo Toe e| cycles CALL not
—clusing this time
__ npadesely and thus the | andl hens _this_smsthed — —_
pets _xeduueool , _____
| is more _effitient. —__
le cou_con. deany_othen nerk —
‘ontil it iatenaupled by the
_tommard —indlicat'n —
readiness OF eee ={i my,
- le Je io quit_eaty tp eT can be_beicy,
page and undestand complicated op
° he poxfismanss 2€ tht |2Tht_penfoomang a,
system is severly Systm. *—enhany)
Pagan
J
Io
1
|
i
|
|
\
}
\
|33
ye Ae scciarive Mea nny _
= The ties wequicel te Bea an vem Sied
_stetd data can be identified fre sere: by
yf ety wrt oral hy tentint os called
nn Bsinictye mimonss
> The blerk Alagoa Of xp asocintie —
wm OT SS
ab PH Wordbe usetal n .
anemory
mamorp odd, |
4
Sua (a) tlow main
cysium 9 taplain the
ot BM ond ROM,
Ag roin romony tm
ag . Me
Mein momnoty holds only
tn Shuchond on which th,
data and
King» Dindud sito Bem,
{s commmtily wer
chum octen istics
° They ont semitondushe mamceiee _:
© Usually volatile raameny 9 —
eT! ls thy Working memory — pt ths rom,
© A computer canner aun. Without te roy
©The lable, talled a wemeny oddress rrp yi
piuoial wprectntation OF ossigned _addven spo.
cath chip in ‘the system. a
To dunpnbad, voith o pasiticlan erm!
asume that 4 compuben needa S19 by
Gt KAM ond S12 byter 0f Rom.
the amor addsers map for. this oper
16 Shown in ‘labie _belpurs aa5.
Adavess bua T
B76 5 324 |
Onsh -oofF 0 0 L Ese
_ | Ram 3 mop - O11 F Oo) O “xX X x x
ZAM 4 oisn - o1re 0 | 1x «x
ROM. 200 — o3FF [oo xX XX x« XX XX
a Te componont column specifies __whethes a
QAM or a ROM chip 1 used.
range of Jhaxadecimal equivalent adel vesces
“) The clebvex bus line ax listed fra the
i _theve ane __16 lines —__
tn te _aclduets bud the table shows
_enly to Ines _fbetautte __the other Boaaa (b) Explain daisy chain peiosity rien
a
A,
Bo. Palsy Chain paowly inteupt 7 -
“4 This uaoy of decid ing tr intenuupe
consists of genial 2onnection of ayy Foieyy
which gence on__tntcrupt— sg nol egy
+ Th devin —votth _the highest ies 7
fowl jg 4
at thi fissh position —folleuted by stout
poozily oles and thr _dlevi@ tohrg, .
Low ost paoaiy _orneng all _18_plated 9. |
Lost to th — chat»
Pinay pestis
7 _ ching am fox _claisy — ‘chuining priority sytem,| the peu
[-) Wh0h thene 1¢ no iment the tin -tounuipt
ine fays 19 hi leve _Stmte 5
~) The 0.0 respond +o _the _Intens yp by
“sy This signal is _xecelved by device dot its
| to next _olovice thazugh 20 autput
__ only 3 —deviro 4 L not requating an
iatenwupt_—_e A
\
ceu- lo? communication toith
- gcd explain
- - tor .
cry operations ready,
— CPU eortin ves with
eam |
Jancthet Prgsam
Senne | cpu top communication |tot path.
by Th: bi oe thy stray word Indica the
condition of thy ih ond tip pevice
uth as toe _pveulaad condition, devia _bu sy
with y eady
_2ln tronefen .
Te all i in orden the CPU sends the
incsimiction th stewt slo hansfer.
oy “Tr ema addess: _secsived _uatth th}
jn suction PR ee reo ns
papgion =
> Both \_sefey mp memory _b miruns
pops
of _pmé@ _ransfer
= The fom —_fnspection _¢F _fhy _bits _tn_sfahas
eves complet ottisfactosly wrt hour errors _
3 ; .
of _mmpny,Sothe —mumben_of devices that
-—tan he __sponation __is Itnoited __by the access