0% found this document useful (0 votes)
27 views38 pages

Unit 2 Notes

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)
27 views38 pages

Unit 2 Notes

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/ 38

8085 Micaoprsesor

I)Feat e 6085 :
8-bit nicnepPscesen ie. A
prccey,on provide bit deta
Bu a

apnalt wilt a 3MH2 clack auny


Jhe 8065 A- 2Veh ca eprat at te narimu
5 MHZ.
4) J hau b addes line, June it cau acces
(,") 6+ Kbys nny
s) JA proidu s bit T/o adduye to acces
(39) 256

aud data lu (D D)
number o ertonal
) dt
fdisuing addui snadu :
(o) Paenodiat (6) Regitn (c) Ant
(4) Tudit
RST1.5 inaritamete
pryomsaud
Centuelles comymnicatonal Pc)a(mougistos
`dP
ri steu
) s)
3) n) (B,C,D,E, ction She
) # RST 4
he t ruister has ihmdi
&08s povtda has 65,
4rial &-bit
RST H ,
has Aontre S.5 aud sr
T)0 accumulate,
L) kogic
au aund e-bit
atuel ouih &085ALD)Miit
ability
shane o ignals TN
TR. two
wlich
(Io 6- Jog
/A,D, allews bit
nugistor,
We)
INTA RST65 TRAP
INR RST S.5 RsT. 15 31D SOD

Tvteupt ceutask

Acumdt 2mpoany |Tsruien


igister Flaq ugcte
B
B Rog c Rug

|Butructak gock pointr


decoder urom (eunta
and Tucremeata
(ALU) deneueten
lydk oncad Addbuy Lati

IN

GEN
CONIROL
STATUS DMA RESET Addes/ta
RESET IN
As-Ag AD ADo
Data/ Addiybuy
Vaoius umdowal
.

uit
"Iusution dacodos aud mackin cycd sn ades
.
Addus buor
Addes / Dr bulor
Iuoumeutn Oacweute hddren katek
Srial T/o cedrel
aud Coutvel tiruity

adusall bit : A, B, c,
D ,E, H,L ,F ucl tuo 6-bif egitans
B,C, D, E, Hand l a 8. bit jeunalppe
Can de uud
DE aud ML.

aud te low rdu


(i.e. in BC b
C wlen Bc dd as aa

pain also fuutins data printu


alse allad Suatdad
:

dhu Accunlatn aud


data . Jbu

Waud Z
hy Und to old &-bit data dii ng" reution
dscme ustuctitvs,Jen nuistoy Availalt

A (Aaeumulatea):
d
Joad and stoe
qualiss.
flag &-bit ulid

Ac

Di Ds Da D3 D, D, Do

AC P
(sP) Painton sfack (b)
(Pc) Couibn Pran (9)
Rog'stons lb-Bit
aGycode
da steu CPU Jhe
calat nqistoy
ta Registe:*Instuudin
n
faity ruet
the 2V
i,e., 9hes
4!
has ugult unalater.
aw at te
deliond P-Pauik
lowa out
Cay Auiliay -AC
Zoo Z-
tfoudou, dayital
addus
CCuutn adi as a
do be

(9 Sp: A B-bit stack


suot neuud shack utby
addes Hhe
ditaneti kegic lnit (ALU) aud
pu<ema anithnti
he &065't ALUYasialea.
subtradt
AND,oR t
Dstuctin Dacodor :
memey and Stouy thi
instuchon fron

aud control sigualt wlil.


ALU and ntevl
the ustuctbn

Addren Bulon
data uput sUnial ceanunicaton 4eual fon
J
'sBoss Jhe dine. single aat
aolu dwe tcud ad
communicat
tn Soial
Condroe j/o Svial
ulooud
a
tion. lnd' Spacial
eKlaut popson
way
ng
routie special tie Areculion
tthe
eutina spLua xtuteautotially Hee
Sstuction
iu
ret de
and ceds Jetcay, proMA CoabuslJhe Jntooupt
palo stack
countu pregam centehl" deoument
the m
oeheut to ued iu
ugistr bil 6-
b- Jhis
latch Adden
/Daoementn oementn h
D,). (D- lus data aud A)(A4- luu addsus
udor law i.e. bus, addoun)
data mlpkrad dre do
Bun DaAad»as)
tJhisa
8
(sOD) ine i ued o d data aud yoial
data
input dala /sD) iae
Tiing aud Cowtnd Cisuity :
-Jhe Centrl incuuty

lfnalons in
kulp clocke
seKeeu
toclasiied sigual
Resdt
(9)
(ovT)
CLE BNA
RESET
IN
To/M
HoLDHLDA
READY
()
fuuclio. Vcc
S
ALE Ag
WR So
A13
siga
Mioaprpeno
8O85 ()
Pin
Conligunation
40 34 38 37 36 35 34 33 32 3) 30 29 21 26 25 23 22
8085A fumug
bu
ddren
a
&085
aud
2 3 5 1
2 13 9
20 aud bus
Condel 1Sorial
(e)
B-5 SS
75 RST ADoAD,AD
RESET
OUT SODS RST
TD TRAP RST bu
Data
(
+5V

LC, RO
i) X, Qud
clek
1V) CLk 00T :

and AddrH Bus :


Dota Bs (Do - D,) i
: Jhe 6bit data bus
) AD, to AD,

addes bus fhe 6 bit


B) Ag to Ais addis lns Ag to As
the
addrus appaans
and Statiu igal :
Contul
(Adds katek Enabke) ! ALE pin ges luigh
(A) ALE
aud low at eul
ding T, aud 7, stot indicaling t
addus/ data lines
jad PD udicatu taat
RD and we: A low
(3) Jeleetod
t be ead fron the
data lo
via data hs. A
Tfo pot data uut be
that he
WR indiats
tranmirrioM tunabk! wl'ch
o/(rial
p SoD 9)
d put suh au his Data): deria
l bit data STD 4)
signl
dà inpd dus ):Data Tp (Siial
Sqnah: Tlo Svtdl
hetuat udicate to ued iu
hs procekor
knezldge)
al INTA(Dutouyt Shu
cwment end the atlnu tese
t ueguiss fhe Micnapuasen Jlu
transfor data
wuther
a Beu
READY (D)
te
type indicatu Soaud eud.S,
machine
id heing ouatinu
îvdiraths s,aud So
sia port "/0
bus data docaiinn
(4)
DMA
i) HoLD:
daa bey aud

i) HLDA: Slis
HOLD 10gust.

Reset Sqna.
) RESET IN : Alow pu
Countu do zone(o0O H)

I) PESET OUT : indicat


neyet
hat prECSeN
the (a

data al addusirg medu . tu tos5


has 5
) Jumdiat
3) Regido
3) Aiuct
4) Tndiuct

te

93emtdiat Adduutng wed: nscle l6 bt dol


indiat addusing
Sn au
s a pant atrcten . D to8s , he
instuies Aaving 7'ltu all wda thit
udicai inineciat addsuming
Eraupl:MV( A, 20H : Mos 8 H immediat data (:o )
) ate accumulat
MVI M, 30 ; Moes e bit imnadiat dat (?ob)
HL

LXT SP, 200 H Novy 6 bt nalat data (2c)iko


Sp
2)
Jlu adwsig na
dotinati'on epnavd
&085

ErauphMov A, B

SPHL
tuo stack peula
) Diud addeenivg med

Erauqd:
LDA 2000 H
acunlatoy
) ; 2000 H nto tu
pai into too
SHLD 30cOH Steus
Jecatons

Cotent eL ’ 3O H
Couleut H 3ogt
4) Dndiud addusing wodu :
wéd , hetluny
addrcs
LDAX B
localia
MOV M,A Sees

9 Duplied adresing mal:


addres

Eraumpk : acunlatr
Couplumaud Content o
CMA arunlaton leltBo.
, Rgtatu te coutcut e
RAL
Data Jnan slen
MT data (&)
Jhin Tustacion dintly loads a
eQisten wite an 8- bil data wilhuia

Putucte.
Ex :: MVI B,6o4 bo H iuu liadad unto Hae3 negiser

2) MI M.data (8)
M
leads 8- bit
Butruaton dinaliy
lhin the iustuelion iete a
data gire wi
-SoH
Jeation. H 20H aud
Ex : MVI M40}

/
memery addees iy 2050 H

3) MoV nd,n
Tustudien Cepie daa fem he
Ihi
iulo dustinalin nrgistles
A 0 H
plaotiale
MOV B,A;Conenh
Mov
B
) MO/ M,
M, s
thi Instrucl'ou cepies daa fom th
rugister iato memey ocatiom pubd
the He
B = 3oH
Ex :
MOY M,B
Contoub 3 xsgiter (0 H) s
(olied inte the memgy lo catn
; wloy addrey

MoV nd M
5)

localiu wlee addes u gpecifed y


pai destinatm agirten
Ex: MOY C, M valu home Mebugny
Mengny ocatn
upicd uo
6) LrI n ,dala (6)

tae isthuchon into


data peciied witi'n
Slack
fan

tx: x1 3, 10204|
aud 20H de °ster
) S1n ald

A90}|
Ex :
10 2000H
codvots 4 Angdn ('on) to
Docation2000H
8) LDA addn

instutioh uto areunulatr

E: DA 2000IH

a) SHLD add
Peiuchi stees dl couent
wilin tu
locat'u

)30 H|, LboH


Ex: SHLD 250H the couteuk L
; addres 2500| Aud the coutevd
at adeben 2501H
(020H) Boby
peifed catiom la
(soH) ngiste.
the to A
iwtuci'ou
wil Jlii j STAxB Ex:
the cepy =\020H
,A BC
pain ngitn BCisnp Ju
pai asla plified
puifidDEn
lue loaton meney nto
te accumlator
Centent he Jnstuction pSTAX 1)
gisten. Hthe Juto placad
lecaten nemgiy at nticoute the ;
loata 2S00H HLD tn:L
2SDDH
aud
givsu Jocatieu meneoy
iusluti
uto chi:on the wtllun
Coukut heyies instuctio Tui
adcdr LHD Io)
lecaten wlee adtun i
pair le He accanmato
DE 203o H, (20 30 H) &0 H|
DAX D
i outant meapy Joratio
spei<ad by DeDE iugislr po
i (2030 H) nto the ac cunulaon.
13) XCH6

HLgístea H witt DEthat= 2040H DHLad= 708D L wite Hat e E


H
Er:XC HG ; Ti instuchion will load tu deta iats
)HE20, y04,D10H cd E-80

Arithmetie Gyeup
) AD
Jhü Tustucton ad dhe Cotaut1 e the
t u Ceutents / accunulator and
sles rnll iu tte acunulaton
stos
Ex: AD ; Jhia cin stuctien aoill add the coaud,
Tnstauctiu adds the Coutout tu
Lecat in pointod y HL

A: 20 HL =2050 H,
;(2050H) =10 H

pain , 205DH Le data DH t the


; Ceutut of acwnulatn ie data oH
)

j he accunulator
3) Ata data (s)
Shii Dnctuion
wihin He instruction to thu Couteut e aceunuulater

Cony la :l, AsoH, CAOH


Ex: ADC C; Jlinuction will add My ly coutout oc

Cvy lAud it will soe ut

tx: AD1 10 H iust ucion will add to4 to te


4) AC n

Ex : ADC C (ovy ag :,A-soH , (-20H


ilii in stuction will add e couteut

accumulaten(so H) wHte cawy () amd


in Hhe accumulator
s) ADC M
Ii istuctiou adds the Coutut d enoy
content
HL ngis tet
"hulato doife cavuy
Er: ADD M ; Accunulator 4
Acunualater

6) ACI data (8) wi


Jhiu instudiau add s bil dah qiveu
ceubnt actuualat wite
iustruchon te he acunuletor

ACI 20H
A- 30H, (wvay ag :l Cany eunsat
E Acugualater 4 ebil data +
30 4 20 t 01 Arculator
1) DAD p
Jeiù iustructie il add Coutub DE
piu, to the couteut
stores
Ib-bit nagister pain Such
Suk as BC, DE, HL On stackgt
Ex: DAD D will add h Coutaut

ngista yain and atore He naalt i he


HL'
8) S0B n
instruci'on sultract th
accnslator
aud stoes the ylt a the accunulator

Er: SUR B Acc - ’ Aecuhuulater


)

4) SUB M
thiu ttruchon Subthat tle Ceutenti He
rgister yain hne
maney lecal'on poiulkd y audHe toe
a Cnulator the esult iu
H coneut
the accnlato
thuctio will sultact te
Er: SuB M
localiu
Ihe Coutet
HL
atcuvudalor
atlumulaterr
Io) Sug data (8)
Thu iusuctiou sutrad
he instuction
accumulaton ud stees he elt auuat.
A 40 H
Ex : SUT 20 H A (40 ) - 20H ’ Accumula ter

n) SBB n
Shi iuduchiu sabtyads Hhe paeifitd
sugisten ondeut aud bore
atuuulater couteut
(amy lg !,C:20H , Ar40 H
Er: SBR C
C i Acuuaato - Cnegiten - Cy-Rumalae
40H - 20H -= IE (Accunulator)
2) SBB M
Thi intrucbiou trat hu Ceuteuk
poiued
a y ecalionaccinulate aud
and l o y

Er SBB M :Accuualalen - meuey Valu -(avu


A
ccumalate
13) SBT data (s)
Jhii inetuction stact s it date
wili tue iustuctio berew
lb) TN~ M
[/,Lu JAAStJillch rnt l nu-a~ ~ -~~~ of-
0

~ 1ouJi'f)1,c fJ~d }iy HL Njr/-PA pa». ~ I

g : TNR ~~ i lJ Ht c- 2-oc;o H / [ wro 1-1) ::- 3o H

HL .-J 01 ~ HL
3o + oI ~ 2o S- I
11) 1~X' "f
cf~ iM,JrJW-~ JAtfLIL~ /-k C13iJt~ ~
J1ft rsren, -F ~ ~ '
~ - T f'/X H i W HL ~ IOFFH
=--
\D J=l rt OI --, I I 00 f-1

M) 1>C £ n
rfiM ~th' 11\A. d.;_~ 4, wJi 11,h t 1t,_
J}>tf eJ cfsien ~ ow . dl P ft.. w,,JJ JJ. fL_

SCl-lMI- 1 sl-m .
~ -- 1)CR G , E -or ~ E
:::---

1,) 'J>C R M
1J,.,u -VA J f rodi'au dt mavi,v,ii Jl, c.evJevih
~ ~ 10 W),l 'w. f~d ~ Hc 1U#Jl f alA ~ 1
I
j µL : 'LO~ DH i ( ? o~DH) -=- 2 I H

l I ~ o I -J 1-0 H

~) :l(X- np
jl,w Ju s~~ " ' 1 clwmw.,di 11,,_ wub ~ r;f;
~ paJA 11 C)W .

J) t :- Io 2-0 H
1

102.D tO I-::) /02- 1 H


I I L

-rr,,r' . . ,1rt~1
.ttu.. <X.M,~~ o/ ,(~ ""{'~~ ;tbu... ~1 : ~ ~ ~
,t ')\e_ ~ ,&A. p'Yl) ~ y ~ 1 [,(f'fY\.. ;t PvL..t _Lo U". i. t",..,..,.., .

;- 11 t' ,, . JMf ,;__ 0 oo ~

'1~ ~\,,"'-,L ~ ~u ..tocu,1 .:ti-u. P (_ ~ rt-.

r
~ w~ t-~ tD.u-J, ~ a. ;~ Xo
/)_A m.M~ f,~ "'r n ~ c>V t.c>G,, c.A.~
0
'-4; AN
de-\~~ c..cl c..~tA •~

J'N C.
Cy :- o

::I p 0

po~'fi...rl

S' ~ 0
:r~ OY\.

l ~ I

::rpc r~ r -; ,
.,
Jf'O :r1,1.fl'f' f~
rt\

o.-Ad
p.::-0
\
j t.U"'f OT\ :U...\,D :z:: I
j WY\.P UYl
:ZVl,O
IU> l
Z.::..o
I
jC ~ t>OO ti

~e o-o H ot c. ~ ~ I
..,
.J '
1fu_ CA J- L ~~~ ~ \.tALd
\

----
, , ' tl,\.~ .,,~ ,. -
( 1 1.,I.. Gi,., tt
.
(f) 1
r V\, !, !tu..s i k.o. C t..<..' L.\ ('✓Lt r)c__

t r''- t.!> t~
,~➔ .. ..e,. ,~ -<J "'<vtA-
-C'" Cn\t, 1 "-4 c_k, ~d
., ...,
ro
C
tJJ. ~ II\. lo "ik.,... pc ,5~a Lt- V'--G.A. U, C:Vt, \_O~J
I
twi-. I
f--..J
'
1k0.

:. n- I
pc.. ..~·
tJ.rroo H ·
"'d
boo o3 M
. C
l O

rb~ I

-
... __.___
£)~1 L.V pLLc Y\
u,-t.o..
-1 c y-:-1
cc c.oJJ Crf\..
~
C N C. v..U t¥t /\.o t ca~
Cz_
l uwtuJ)
OY\. ;u.,t,)

t :.te,ic,
CN Z In'\. f\..O

S· t E '1 - rhM ~
~
. p<ry>'S [h.L

w1w.~ )¼,~ ;tk ~r


.1i2 1lu- Of~~~d ~ ~

c~.cU .
...fcv'L rtT
R. c...
-1 . r · 1h~ &vi,~ c.,t,_ 0:-, ..~ 1"--c.l..L. 1k.c... LOA1.,,, _ 1/2
.,r 'i"<-~ lA.t pol:.t fA_t.c, l lu. p"b'D~tcvn. CcxV\ la.-t

"'
pc ·
1,~U loJ
C, ,JI
l,oo o~ vlt,
re~, J.. t1.. tu,.,l.c .~
'I
I~ '1~ ~~l~
0 <>
Ap~ u_/< c
0 0

CA J-L. tAb'txµ.. ~

1h c<:.£. t~;UA MJ1"€-.>-<~


'V ee.tu ~J y,e.,½M .

• 1,--.., l U\ C lt.:~ lt. cl<.

R~r o ox~;.. booo+I


£.!,.. I I 'X. g : 00-0.S H
~~ , ?- :>X8: oor oH
R!T 3 3it = 0018 H
~fT ~ Jpl & ~ oo :>o+I

R~ T s- ~l( t ;;: oo?.S H


RJT b bYd : 0030 H

R~T --, --, ta = oo3R ~I

E~.,__ V\_ ,.,v- Sp;; 3croH


C

J 1,;o< C C-i;r,;;•Lr-
~

1• p, r-1 J\ r-i _ ~ ~w ..~ ..,tof~~ A N'J)s &_.

Co-,-_~t ;'s ~ tl,..o., hp~~~ a-+oc.t. ~~ ~ u,I'\ ~


f>O (;I..(~ ~ /2.L&-\.M -;t,tu._ YC½u. lr (/l ~

~ c.e. ~~ .
( A A ~1) P-, ::- 0 000 l II l (o F H)
-ANA /\NJ> 1Y\..C. C,in",~ t..
1

,,., f, II\. ·1 h .'1. ;v, l>i.ncQ.ir~ O.o;;~ rnl.L. /\N7>i 1ka t c.,.;l.,.,-..1
l'
0 0 ..
,./. t 'f\..t lY\01\\ ,toc,'1..1.t ~Y\., (1o•A.to d l,~ II L a cd~U..\..- ftt-4.
t l ':., ~l :H\.c (_
0
t.~ "~ (l t c.. V y1...._ e"·to t
I'\ G 'I IN\ ci I 0 '.. I.>- u· ~
.~ le\. cc{ ika.. r1..CC U..M.t-tkto l ·

/\ N /\ M ,. /\ a D I Cl I o Io I :- ('S '3 H) 11 /. :: ,.Jo 5orl

(8 3 ,., )
; (~o ?oH) ➔ 10 11 00 1/ ::

: -Ji\,w ~'\:,,..l.~ ~ LI lo i~ /I N 'J) i tut. Co-A~.-'lt i


N'\.UYI.OY~ l o~ ro~to.J 'ocJ HJ... ~~t»... r~ LIB 1rt)
v,.,;•/C... -~ ton.tu.~ ~~ ~ c ~'- {t; s H) . ~t ~I
!,t"c,u ;;lko.. ~~ (tt +-l) "v1 tlu.. t\~ .

·) , ANI C¼ta - ~ ~~ bi,~ ,/IN 'J>.1 ~~


~ ~ ±~ ~\xu.ctt~ ;;,fh -fhn__ ~~~·
0

~t 11'

ty1 teu.. OLCc.1.-~t&t. c.vvR /4,e w ~ ruu..Lt V'


;ttu. Ot.C. ~ O..C-o-t .
~ )1--'.l,,'\.pi:~ ' ./\NI 3FH ·

)./ ' , RA 'I - ~ ~~~ ~~ Xoe~ itu... ~'tb


~t ;tkt. h pe.Jp..J i¥w.. IAht½ ~ ~f:h ;- ~
I ~ ~~
•1/\
CA.Cc,ww.,LQ_p., tR /21:e-t.Ll -rt,._~ -Xk ~~

~J-,vv,.p-C, A :: 0101 otol.:: ( 5s-t-l) 1


HI-.:; dloi,t'+l

{~osol-l) ➔ to11 ooll ~ (B3 f-l )


.,_ 0

~ ~ ~ tof ~ '[.op,_ fu ~LiA't. bf


rY\.UVl.-oaO ~~t..irf\.- r~e~ Pa ~IL a--+~ p~ (o2or;'O ~0
;_ .e. d.A..°tD- 83,tl u,.,~~ ~ ~it, 1 iAC~ (s-s-11)
ctA.tA ~\.e_ ~ ~~ U= b rl > t"' o__c~t •
-----
1 Cv • ~\,!,V...., c"to,~ .~<t'c__,.ll~ X or. i .thA.. f

~ -:tka. ~ ,tw..cUa.;, v-; 1 c,_ ~ c,~t i,J


ft I ;t ~ ~ l)I. ( (:_V.,VU ,\..~ l:n L .evi,J /2 to 'UJ ,t~ ' e ~ l,<.u ~ ~

I AC (,l).m.t L ('.__ n TI\, ·


I
,
.., J\ , t..\.' XI! I ~'7 H
~
0

~~ ~Lw .e-io Y\ l,o iCAJ,Q,J O Fu 'fhA..


l J I • . I
e-i ~ I.> p.e C.
r .D.f ti:.\. ,llv" tk ;tk.Q., C(T"Y\.UI\. ~ [' ---ttu_

0AJ ~~ rhA ')'e4... J..,r ~ t\ Ct.uft\.L t. p~


(l CC ~ t o\

0r.?.A B
Lo~c~ ORJ tlu.. ~
!cJ t-11. a+tr.t paM ~ ttv

A :: D(OI 0101 :- (SSr-1) , t lJ..=- Jo~o+J


(JosuH) ➔ LOIi COi 1 :: (.&3 H)
~ 1r\A ~ ~ w.;'U
0
t,_,i(.p.,'¼ OR -/t.iL- C,wl,~ ef- ~ 1
0
Lo(J>.,t.:- po~ J ~ Hi- ~+f]J_ pa-v. ( 83 >-1) ~, 1n ~

COl\-~lt. o& tlC ~h -t ( ~H ) . T·t ~U .I., wtL i k


~ ,o- H _• II - .J
;ye,J,.IA,l \ V ' 1',~ ct.C_ C.,WVU ,..,UI.. \_C,-- '

k tL at.~ ~ ~~ ~~ c~~ ~H"L :ttv- ~ e~


~ a.c~ i et ~ .,~e. s ~ ~ t<l.t V, C\.( ~

f-- 1-"-- Vl.f Cc- ' 0R I OS 1-t

'" Cfl r " r ~ ~"1,..1..u:~ ~ r)-QC).$ -tk l-OV\.~ b., ~t- ~ I


tSpe. c..~~ -ae...~ b:-t 1/~ Cov1 ,tu{~ &~ t~ ,:l,\. CC<..vYu.lct"tPt ~ I

/4e ~ ,{ ~ ~ u . \·-,,\.- r~p CV po. ~& ~t JtA. brtn ili~ ·

T t ~ lQ t.c.,w i
,pt~ Q A=- r w te_~ ~It '1j ~
1 A L 't" ·

'·ti£.: , (""P q " -r: r o o I -;rt;:o_


,--1.0
- '· r" · "' .v
'f) •
.1
--rl'!.
' n,v.) C/V.V\,I..,{ c..u.m ~ l <;m-po...-fJ2-
-lL,\.!\
: :&&- - : - - - - - - -- - --
1:> a"-j~tu L1. .~i~ .tkQ.. Cc -~ ~t ~ 9i - - -
H{ ' ti\ _ ~ \ ~~~~ ! ~h -t tw ,tl ut,
.H'-12- ~pe~~ i~ U A .. ~ (,C Y\ .~~ t>{
.'.'l ( L Un-\4.Lt_~ a..AJ ~ e.,Q ~ c ~ ; , t~
I
I
0
t 'J t

I r x....,_, lrc.( · cf'-i r ""


\ ~ t~ .t kt . ~ ""';,u U'Y\A-f a..u- ~ c.u,-JuJ:~ ~t
\ ).ou:-.-l..'o,"- ( &€ i-1>
~N\.() 7J
~ ,tk.o ~Q f)t C (. c~ i. o t ·
'' Cf' I cj_• t;,._ - 'I ~ (M t,;.,.,X:_;, ~ .X,
(~~

.:tl\J.. l\.C~t
~ :tl,u_ J pe ~ ~d r +-\:u, f YOYl'\,
;ttu_
ur'A {ii\.V., tt.f
\

o..AGl. ;. ,~ ~ un"-clt-~
~IL

t /...'.)..,\,\.re~ . A .. lo ( I LD lO
C fl 3'0{-1 -~ ~OCu~
0

""11' ~G V ttL JO ti ,J,,r0


~ ~Q ,- .c ~ b ;, \ .
1
I$ . s'T ( 9e.'v.. (p a~ i C~ :- I
, t,
'1
• Cr,/ C Co,-1,\. plt.rvu.AV. ~
-~.
(a b t~
f~ ·
CI'..-! P, - ~~w .e..,.. t"' \,.J'
~t ~ o.c ~ ·\
c .~ u 6T
.------ - -- - - - - - - -
r
-1,
---
""
,.,, 7 1:, I
\.._
"-
C!)

Th u

r- -- --- - - ---

t
1
-,
r"I"'- J T'
_STACK OPERA , ION S

E.r.aMfi~-
PLlSH t)
,3p - , ➔ sp C, FF r ')
➔ r i:. i:i= c.·. s,..,,
0
cSP - I _-,. 3r I. ' r /: r l
r:- ➔ -3 r ' ! F!: r H )

g. PUSH PS W
-J~wd::c°o-n. ..ri tL<iL~UW':l k5 lac)< ~tc:.•,,
Th~
n:'\.IL --CLLLWYl.LU.a:tor c.crd.D n.-b
vi crn,c.. ..n.nd ..LO(LI-Ll>
...i.ecA:tlC>fl j1C5UTh.d. l'y~ ~r ac k
J.lcto -tJ'rLt_ J(UUYIOr~
cth).tt. . .cltc~ttf'(L(Jt.t-) .:dtc. ?-St ttc k ~ tn .."L
-JlD'lf1.WI . Ii
._c_c;(LLV, .:tfu. . 6-1,d '
-//D~ .<>i;\
ci__~CLl.fl

,"u .i( ~'i


~b-/ c;n .L

.,ju o
an cl
:tl\L J'flLJY1t>'l.l.J ,l,xcd:t'hn f'AAl:ccl "1 1

I
.:th,t y')r G C ~ --r,Jvct:t.H · l
I
_E. xu n tf> I e. :-
_J2.U ~ PS hl
--
'-->P • , •\ •'3 r C,r r r )
( ') 'f '')
A - '1-- ~ r ( I FF r II)
C:p - I ➔ '1 P ( I rF~)
F f)
f/ Cl v ➔ ~<3 (J (I F

3· POP re ·.· TJ ~ u~ :t r~ ~ ,do


ai
U C"h011 ._cC
~Ycalk f'8v® l.
Th:~ 11Hi. "L
lC'C'a:L-i°on. ~ d
'"bd .i:h .l
Jl u n1Cl uJ L t~ ti d S·uLp~ili"l
:th.< L _b~rti 1 .:tK
.t ~L U .~
c 0 j
'"'"'
.utt'('I 0 fuc/l juird:t-"£
ftt,L.,l ..oJtcl L~\.( '-U . 1 1 ~

~
,__tPi-£
~ ~ j JnUYlCl.~d
1 ,, lo ~
It _t h-Cf\. .
CN . j"C >Ln lo\_
..~ 0 t:C \ck
t
.-lCYa:t16Tl j~Lrd:rd L ½ t: .d .:J U q_ °v.;JM, j1M oncl 1
1.1'J. tc )i
ftl.ah.Vt .}iiJtt ..o)t. . V o
...oe
rf o
O J./1. ffj 011,C .
U J e ta _ ~ 1 -m .,- ,k t_
0
~ W U.lfnli'dL~
_t',v,_
I

~ ~Le :-
OOf? 8
( r. 10 00 ) ➔ C
J
..3P -r 3P1 .

I
c m · _._ 8

8 P ~SD ➔ '
c
I (::,oo ,) :J C fJ 2- )

i'"hL ~ of
:tfl.o f<5tack tlJ)'tab.9-l
0

, U l(J -1 D .~ (W
-;±fu ~ c } I
I
1:r QJ~l, tf L _

rop p_~ w

s . S P H L '. i H1- /
-2> XNl ~
1fu. lN.,i>w c.ttQ/1. .LOJW
1

J;rJ.o :tnJ. ~ XCl Ck fcruJJ:,l


i' .!IIM]~iliJL ·/\ ML
I E.'L 0 £ ;p I~ :
b? HL
Thth lr¼b uu ;l t~5n-
ota.ck •rovctvc
, 6. X T H !. ·_ . ~ °t
= --
J ., ~ c _ ~ o r1. ~c~ tlt.L
~ ~
TTv1;~ ffe. ~ta.ck
~ n. ord
.n LtfYIC>>u.j
1 i J,1JJ1l l . t ~ ~ ~ L b of t- _,'VJ}~
..i=IJJUJ J ixa±r°""
I
I

I
1
j; fu _
.t.1.u:tlL
cj _hi,;. -tu. • \
.conmct>
::t_}ui_ Lon:h.rch 'T H 4~L .
I E:c.u.mp Ie :- I

XTHL

Inp u± I Outwt
I
1 . IN ada.r { g - n d )
~
Th.th J.Mhw.dt6lt- ~ 0
• <> ...I
~ {'LU-lf ·-°--
0

l.u.dd.,U,b6 .l. b
' -ro,d ...w ~ e ..ru.uu-<tula.tor.
._W=>-bw.cl16n- .IJUD -1:fu__

Emm.p lt :- t, -.cop
~ d : Lcr L .ui1,t
~
0

j N 80Ji. : Th~
c.el.Ll±o. ~ J W X . -.aJ: ~ -
., t .e .
Bo H
-
_ _ cla.:tn. IDH trt, ~ ~
cl . OUT

L°b
__ctclc! r ( g . b°Ll· )
~ ' iv ~ ~c.tt'.'or-,
,0W u, uJ_ cJ.o ' 1
r,WtcJ/-> W ~~
:lJ:> ffe. _r,u.iJ1).),-1. t-°9(;}; od--~
,'J v.~ Lr J, JJ..UPs.,,, ~ ~ 61:w'(\,
£i (J..JY~ 1lL_·.·
QUT 3 0 H
Th ~
A ::: 40 t-t
~ d J: 6 f\ , ~ rt ,~ ~
~
; ( 40 H ) .to j:f u. ~ F ~
0
v~ 5 0 !-t .

You might also like