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
You are on page 1/ 17
Aissignmen - 4
CSE 934
Name = Md. Redwan Ali Raf
ay 192 Ne lege
Section o44Answen to the question no-4
D mov ar, [ep sowed
Given nod,
BP = \eAo
Effective aclmsy = [Bes 290]
> {(2bo4 + 2tksu
= BEQh
“Merefire, He dean addness is 44€au and
The sddresscg mode it Based_ Indexed attics
Mode,
2 mov {01 <2] FAL
aL DI = 2004
Effectin Addnresy 2 {ot +2]
7
20H +2.
20218
”
Therefore, the memany athess fo 2oey
Ard Ne adding: mode te Based Inde,
address ede.Answer -t dhe qustion no-2
me ee ae
ce. B69
Nome of a — possibly ed mecdes of
Given below |
) Immediate Aeddrassig Mode!
Fd, MOV AX, Soooh | Moves Trmedide valug 508 ty An,
es hc rmrmrmrCLCmCmC~C~™CCSCSQzaCS By
Ex34 Omp AL, OFFh + Compare immedsale value OFF WHLAL
D Register Addrasng trode’
Frets tov ex. ax, Goyes Cemterts of Bx tp Ox register
Fx-2. ADD An, dy $ Add 4h, Contents sf by do Ax,
Ex-3: cmp BLAK 5 Compare the BL Pepistag with Aly
In) Dineet Addnessiy Mode’
Ex-4¢ Mav Ax, Cizaan]
Fe-2- ADD [s1] oy
B26 omp Loxedi] OFFA | compares tte content of. Hh
Penny loeskien pointed to by te sumed yg Or.
WW) Indimet Addrusieg ede:
Bet: Mov Ax, far
Ex-2 5 ADD UOx451] pe
Ex-3+ Amp [$+ 10047 peV8) Baso- tndex aeldnassiy mode!
Ex- 4+, Mov Ax, (Bx+ey]
Fx-2. ADD [Gp di] , Ba
Ex-S! ome [Ox e+ woh], DL
vi) Ralekine Orcldresjs sno de!
Fear, Mov At, [ex+ 10%]
Ex-2 ADD Tox -204] Cx
Ex-3. cmp [si + tosh] [01-56]
2Answen +o
—
Differunee between Re &
the question 0-3
Wire processon |
2088
20kG ‘micNopnoressen
a
2082 = micnopnoceason
‘Ye dake bus is of Ue bide,
UW) J+ has 9 AYalole Clock,
Speed (6 mie, ge. tome)
wn) Memory Cannery is BR ty,
W) ht hag oe Con ol pik
Signal,
vy) d+ oan Teed /writie ether,
Rbk an bot at ong
wt) d+ has C Dole Ind tuchian
1) The data bus is of 8 bids
u) d+
Speads Ce mtg 4 g tht)
has 2 available eloele
w) Capacity $6 Imp lemated ac
& sing te Ihe meron Ban ks
qQuiud
vn) gt haws a Mar, Seerly
Conhent of 960 mA,
') Shes comptenente me
Sw pin stand, ef P07,
Vv) St can Toad oly 8 ot
word ak oneg
vi) ft ha 4 bye ,
vu) St draws g May “tly
Conrag of 340 mAAnswer +o the question no- 4
~~ OS CO
Here qiven,
Searrent, rea ster, = 008A h
Ciset = BECOK
We know,
Prysicd address = Seqnent X10 + OFfsoy
= OC SAO KH BECO h
2 18460 hAnswen to Ane question no-s
tnsinuetin
Stleayn
Ryle Greve.
Fy + Interna
Anehifectuna, of an g0RE ™nepnecasionAnswen to the question no-¢
Assumpttent’,
SP=1bS0 4
Sg = ooo
Ox = [1234 Wy
x = [i234 Hq
8p
ID50W — 2 (afin pues) + 2 Castepop)
{Dbou
wv
Memury '
Lioso tt + 150 4% 2]: [ress] (value ab remany locapa |
123nh astern Push cw)
“The given tasdnucheng perform 4 Le following opschon
"Mov Oy, lesan] ¢ Losd the value at 1aguig into Oe,
PUSH oy 2 Push the value
im she OK Regine orto
2 the stack, ft decnenent Steele Pomer gp
Amd Sts the vale of Ca at ame loestin,
POR Ges top the chop value Irom Steg
Two Ox Register
Adler Ox coud
Nalia ab me
senain Unchomg od .
Hore 5 oth Ces Bx Conte tha
focadim 1264 and
Staak Powe,Answer tothe Question no-F
) Mov [8], [ee] ‘is not
Explanation’
rigs ,
The main Welton fe the | lg
to Atansten Ake contents of aman A
a? by Bp tp the ad dress
Poited by 81. Both aru. meray leaking
Neva the Op Qrientt — ron | reference
Ore beivg enadg_
1) Mov 08, DS 4 ES pet
‘Instruction Aree
ato sham
rught
Ex plan atten '
H SS not (her Since they
Can wt be
directly modified
Mothis — Manneg the CRU Uses
Hea) C4 ara DS ayia ol 205 ara ay
retrany Seememts Mov AXE, vale + Moy bssm
one the only
One theb Con ba Uted fy
Charge Sagmont — res ivters
im) Mov Le, Lory Somme,g
ls determing he Pry sich addregs
Answer to He question no-~ 8
Bose plus inden taclnoss; mode’,
2 eer | eee
Example’ mov Ax, Cops) +44
Aceesced we
ued to add the conden Of he tae reagisen
and index Register , plus +he dic plane net
“ get
the effecting ald rags
E iective acnesy = BP + a1 4 displacement
= BRON + OEE Yy +h
= 3de2y
Sroline et Ackles ire mode!
Vrangples thoy Ax [ex]
TW delamne fhe phusteh — asldnecy, le took Bx,
thick contents the addres gh dhe ne
lector we Want do Aceess So fhe Physroh aay
Atecened by ths Sstveting ;
Merona Nocakion — Whete aalbrey 7 WeyExel: Mov Ax, [St]
“To determina Physic — acl, tue, acd fy
look ot the content of the Tegislen — specifica
Mle insiavetion 81, TRE Phy et addneg,
Aceessed by {his insluedm, te conde
of Nemery locstion hese aeldreey is an $1,Answer to he quasten 10-9
20 BG Mictophocesson hay 6 steus Flag pee
1) Cuany Flag Cor) ¢ “he canny Slay is Set han
Tham 6 canny Be Siynfeant
bE dunt On ait metre operation, Sueh as addition
Om sub tacton,
"),faty Fg (9: me fouy
ag IS cat tee
Yesult of an
operation has an even rember of cebu
) Aut; :
> Raving ony Rea OF) Ge yan f thee is g
aod Ot of wit 9 deat Ut etig,
Pech,
Y) Zeno Flag Ce When the peatd
Is FOr,
Ny :
) Sian Flay Gr) Ry, Slag tee
He resulk te a Mog ediue Number.
vty
Crerte Sig COR): mana tag is et if
she mesuth of a Signed orth netic Oper thon Ic
, lange ee ew A the obisting,
Operand |eee
\
Control Ftays
PERE bP PEPER EEE|
. | | ody
Oyerflan 4
Sig Sign fleg Pusey
Panty ‘fey
Direction 1h oa *Answer 0 —the question no-40
ne
a
RL 2oR6 micro pnoceston fs devided Tato two uniter
The Bus Interface Unit (Biv) and the enecifton unite
(Ev), The QIU ts respowibe br managing AM
external ous interfacd inaleed) Nhe addruy 8 dake outgy
4
and -for Fetehivg inguetions from Themen
It alte
Contains tHe Segment reqistans which are v4ed to
acne ss Cli ffenent-
Segments of Lo Tre Eu, ort
onthe hand,
's) Mesponsibte — ~fon Rreadivg
Inghuchiong
oft contains ALU wha
oarfonns anthmetig 2 bogie
\
Operation
“The divinton of 2086 Miche procesun — ini Bu aw
improved P2rfstmeneg, and *efftiens,
Te QU tom fetch —instuetion, — uelule He EY ¢
4 th previous brsthuetions
amd Wwonoveg athe, ~throvghpat
“Whe he of
Ey allows for
oo nslueho, — quene clso KelpsFurthermore, the Wighspeod bus Commecty the Bu
and £y erable, fast Frenfen dale betwee,
fro orite dt also helps +p optim ae he
PNove ston performance and 2-fficien 4 .Answer. sto the question no-44
“The = RIV of ROPE Mietepnocesson
i the
Slama bes Interface, Retrives Tnsttuctin, and
Pra fetekes dak ft — ctanos
Welnuction iC
Instnuchon Queue
in dhe
beffen, “The Eu
CRCLes
In g\nLetion 5 ptontane die ALY amd gern
PUN Pose Te@isteng amd — Nedninog
jo uetion —fromny
TK insinuctan queue buffer “The division of
he Plocesyen
into BLU and Ev
Improved
allow, $n
hy teal.
(
ond im previtg he “thn ogg h puck,
“The high- speed bus Covneetey He BU and BY
fast Marefer of data behueen “hoo Unite
Overly, the Riv
@ option
+h2 goge
performance and efferen
idle ting
enaby $
and Ey Wank ‘togetten oe
the Performance and Siete of.
p mic TLopnocesy on,Answen to the question neni
The dab, word show i te fgune ts +
Yoloolle O00j;0010
Accondsy to table jths dad, chee =n
BA2AH ond Gacgy.
“Byte.
ae. ero
Which has am -even least sg WH eh ort
4
$o Hh i Sead af Gn vey Odd rere f
4 ;
BD Shea He date ond 4 Shred at ¢
= iN
bond boundary.
eve bad. bo.
> beddney wend dong | Ste ae