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

Adobe Scan 01 Mar 2024

Uploaded by

omsabale999
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 views18 pages

Adobe Scan 01 Mar 2024

Uploaded by

omsabale999
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/ 18

igahestz

USually
inisualyss bigh vexy is Cxeaaency
xeecylCocle
isey clock The Clock
chip xCauited
aollex deice Sepaxcre
is
poxks Io 3Posts
memo Same
Hhe Skoxed
io Cxganzoion
txuckionsDoroOxe Hae sroxed
in QSe
DraB
hitechise USed
aschitecbtuxe
Hagvoxd )Aschitectuxe
orxoller
MicxapxoceSSox Paxarneex
betJeenAOiexeoce
Assignment
-d
YOUVA Date:
TWIF
S No.: Page
M
M T
F
Poge No.:
Dnte.

VOUVA
icRoxeoce betseeo Von- Neumao & HaxdrA

Haxdwaxd

)be von-Neuoan uses Single Haxdoaxd useapbysics


memoTy Box Hbeis ingkxuckion Sepexate memoxie,
istxuctioo 2 data Sox

2)Siaplex Jegigo. Cocoplicated deaigs.


Single sepatate &Jedicated
3)| Reauixes Gepescre Rtcttcted Recixes siegte busafo
memosieg.
bove
4)Iosxucioos &data Gag
beosrartiorg
in secuentil oxdex & data can be
Cetched siottaeeut
\imiing, he Haee
iS sexate byes ox insuch
&datacshich iocxeogel opeaior
S) Pxocessox oeds koo clock Qcle to [Psocessak c an
cormlete an ingtxuhon pipeioing in o0e complete an igtuci
igtsuctions is Dst possille. cycle if appsopaiole pipelici
stxigias axe implemented

l pipeline
Hhe insrxuCioo ko be ececuked
can be takeo txom
Second rage ot pipelioe
data is kaken xorn he date
memoy using decode inssuchion
Lox, adegs.
Page No.
Date:
YOUVA

D-bik cpu
G- bit pxoqsam Couotex
3)8-bik pxocessox Shatis wOxd (PSO)
8-bit skack pointed
SlIakexoal RAMisA28- byte
clSpocial Guncioo xaaishox (FSR)is 28-btes

)Teoo eatesoal &Hhxee intaoal) vectased iakexuca


o)Ooe ull dupler Sezial Ilo

a)Eeplio he Cunctiocing of CallaLing pine


)PSEAN:

Hae RoM.

is fetching code Cxam iohoroal


PSEAN iS i.e de- ackivaed
when the device is fetching code Cxom eoexoal pxogxam
memex PSEAN heconoeg lat) keoice in each machne Ccle
eccepk aat tOo PGEAN activakion se skipped duing
each acceS to eochesoal

a)ALEPROG :

I is ao acive biqh utput pin and used to denliple


addgessS and data bo ie poxk o chich xovides bath
LoddxessG data
JRESgT
inpt):
(Reae}
intesoal EA
agsamming Connecing
EA/ EPROM Ps Tbe
volue AYFex calle is Begel
It he EA to Same
Should fetch Npp
must ALE
bigh
of
apphiag pioan
iS (Exckexoal pin
cede is
Some
pudse be
be is toused
coonecte
Cxam
congected also Hhe
8081 a must Access fox
hish acive the
esctexoal dernlhplecing
24LS32
egstoxs. he to pragam
pulse ro
enalle)
high bigh Vssieqsound
input Nea
ta at pxogxan ptse latch
leagt cohil
RESET he
pin ioput
2 kerching memesy eobicb
eoable adosaas
2
Date: Page
No.:
Pio, machine to
TPROG) M

he Teyet T

W
Code a0d T
oicgaconb cyle. mocati
fm
duin. do YOUVA
e
g0s
)AVep
iotesoal EA EPROM
connecg
ofSome
value
809)apphing
Arex
si (Reae}
RESgT to Same Tbe
hBegeinput):
Sbaald fetch
seset mugt ALE
ish
pio (Eckexoal
eoable)
Access
pxogaaming pin
coda is
pulse iS be
aod be is to
coonecte
used
a5 laom
cootents conoected also HHe
a mustacHve Cox
hiah the
eoctesool dermaliplecing
4S437
eaistexs Xeseton- be to pxoqxam
plse
io high high to Vg
xegishG ie
input Vea
at
ta pxogxam latcb
pulse
RESET leagt hile
pio hê
le ioput
2 &
ekching mCmaky addsa8s
iO,
losk machine to Date: Page
No.:
MT
(PROG)
he xeget TW
ood Code aod da
miczaconh cycle,.
he duri YOUVA
xeet
Pso
gOs1
Hocaeves b)Psogaam
countes a)TR
at
cakisn ingrsuckiong countex
Tomediakely
Fox Pekched Shasts xeajshex
8-bit hey Tese
High) aoyhecadecinal The
ocationg 1S-bi Sboxt
he igdependent physically
ecisk
ay 1G-
his can data
congisksegishess Note
tohich in autornaic is ogxars
heps bit be value
OPHCOata &
he ot incsem
pxoqsam poioter
oltex Cxom Some
e h¡ndled oE and
poogsam a called
pre ime koo axe Rolauing
etedby
iocIementhe O
iOstxuctiong
is cobich 0PTA
couotex poinker oot ko6
sarm os ececuiooaOd as sepexate he
Couatex ececukioo,
coll 5535 iS
it
nect sue used Data
iS
loc)
Qageg seaistexiS
ems xeastexS io io
coxitkeo. oeg memoxy
to
volue ingrxucion
euop beix decinmal coe
progom he point
indicoteshe because
could value memety
6-bis Date: PageNo.
an ertexoal oiotex M

DPHCDara T

e0e0utes isengioe W
be oe
oP hey TFS
changed to axe
o Hhe segsatd YOUVA
becabich do RAM
a pregr
poinhet
used
new nok
accunulatox
while gistex
beiaccuraaror
SuseA
aga eoxe Staxrs
decxernested
LOhichAekex by Io
t pointex poin
logicaiopexationg
pexfosned A be
y cJKitinga IE
any value valuehile
he
Stasting seso
xong stack Bxom
Heqistex
is
accumulatox
bOLgh be ohex means Same o o
Pes8ing is uged
validsáck to
is Hhig incsimaoteà (Srack
by value Hhak mannex each he o
novedlocokion RAM
Hhe he he poictexddxeas point
is Stib-paagsahe
s by & Poictex,Addxess
ota ALUAeex serusnedto [poce pexmits \ocahoo
Cnding by ensuteg oo top
Exom a SP+ ta
a o
xeglt He Deo o
Sub he
to RAM Stach used be
one lootion gkach
axihaaig hat
is his &iH)
eseved availabliy GoxShack
anotex
ogisteto
Skoxedioto Tegistat value hepaioex
io YempoxaKy
Date. Page
io.:
alueis
his io Shock
be
apesation Pox
hen the
Hhe srack pointe
he
)Bit
3)ik 2)i )Poxiky s)Eplaio
’It Registes.
PSD
iotexm) bits Hbexeg
axihemaic
opexakion
oOe too is bikusex
Select
lauocillasy
bantk opexotioo
micxocontxollex.
eve ig
axe 34 2(ovesfloco): :bis
xegishex.Io
is bitI used
Haeo bit coxry
RAM osused(RSO, Do C
RSI bit 7 pexfaxo
ovexAoc 6it Ac
to
to Hhis a
RSI)(Aegiskex is Dumbex G Ag,
bit xefelect
taLle
shocoSelect
io his IE xesexved bi
S5i cyexo by
RSO iS
his cage occuxs
one se o¥ delineog Sethng
4 stakus
Alag \axge, bit3 he
his fox
GinaxZ0ooeAo
baok wheo ko
o bik bit stakus o
Hhe flagSo he oe 2agpazity cleasing
BaotkSPACERAMTo Loill it bit
faux
select xesult be
o
it auOmahcallotheise
caonot tute 1
be bit
narne
Pbi
eoill |PngaHn
Data:
(ooH Q Xenishex bit): cleazed
baoks in o bits
oxiboroaic
vexsion
he be VolaP
ue log,
- Dhese by
o7 accuoalak xegisha
tuso
YOUVA
to setshoxedsigned
H) of &o5).
teao o
roti
in Jagic
opexaion,
)SiE CASex 5)
shie K bi bik RAM Ro
y
(cáxxy-lag) G(aucillaxy ko
S(Elag Oxiking.
8}
ingtxuctiongbis
con
o):his 2@xos
be
bitD7 Cox):
T Used&oneg
is
is
qeoxa
bit bis
and Flag seqistCxautof to
usedcHnesLoise is
Sustxoct
afecedby is Hhese
se Fox used pauKpOse
bitS
axihamaic all ik
Pox
Obênever
hexe nn a
iS BCD bi
add Date: 'ajeNo
cle
opexafon, availal
M

Page No.:
Date:
YoUVA

egcxibe pocaex Saving options io 809L

8o91 hag 2 poOcs Sving opiog'


0Tdeal mode
2PooCx docoo mode

Tdlet modei

By setting bit o io PCoN Kegishe, CPu oxced ino deale


mode.
To Hbis mode, Hhe cpu puts ksel ro eep by gata ct
I s oOn cloctk.
Ik doseost sap he 0gcilloto,it Skops cock
Since CPu coiltbàsao 807. o go. ot Caips pocaes puttingit o
Saves Sigoificant ooouot oe poex
he on- chip pexiphexalslie imes, Sexia port iotexaupk atc
|&RAM_ Cookioue to function as naxma
be stack poiokex, ogxam couotex, PSL) &all olBhr
gkexs maidtain thaix data duxing ide ogt made
Io hi mode Sigoal ALE & PseAN QSe bigh Due to Hbis, ertn
EPROm is disable..
ae pox pins hsld Hhe \ogical state hey bad at e Hme
ideal node co activates.

Posex docao modei

AFkex seting te bit PO io he PcoN xegiskex he micxKonts


Fuzns ioko ideà posex Soing mode.
poLey
Io -powex dorao mode 80s) opexote using only 2
Suppy whexe he tool pacex coosumption is legs than
Page No.:
Date:

Io ile roode 805\ tuxos


ohich xeduceg poex consumpios iotexol
he 8051 Can be bxing to noxmal mode
sigos only
Ho poex doLon made he Cookeots

conteot of iotexoa) RAM is sved


Page No.
Date:
YOUVA
Assignenent 2
s) Decxibe 805\ricxOcootxollex
805)
Booleao paocezsox.
micxOcootxolles
hecause it pesEoxmg logca
can be
bult -io Boolean
logic opexaiog on bngsy
dota.L be
nicb icsxuctig heLANO,OBXOR
maiplake binaxy wales Stored in its e NOT
geosKyIhee pesaiog axe
digital SyStem rnakig he &o5\ Hundamegkal Conl:
Pox Keqsro e

xequised boolean proces Sirg ,Such Suikabe Gok toab


automaion & Contxol 4ppicakioo,
s Develop agsemy aoguaas
OuesSpzogarg
io a block o \o to Eind he axgeat
Srose Dumb

PSW 3
CLR Selec Bank O

Ri
Iatioli2ebte cauchexpoictes
Iaiiali2e memosy
Decxerne bte cOugtek
UP: TNC Ro Skoxe nunsex in menoty locahog SoH.
MOV A Incsemedt menoBy pintex
Read Neat Ounex y
CINE AS0HON
AJMP NEXT
ON: 3c NEKT ;Else go tako Nent

Hhen qo to NEaT
Else seplace nect nunobe
oita qumbes.
M F S S
Page No.:

Date: YOUVA

NEXTDJNZ RI ,Oecxerneot byte couotex

LOOP: AJMP LOOP


Stop
Expain he Pollbung inghaucion of 80S).
D) ADDC : AOncis used to add Hhe bte vaxiable an he
Cossy log oith Hoe Accunulaikcs conteots sko~ing Hae sesulk
i n e dcCuulatox
be
auiliay -CaxK Aag axe Ge sapectivelyi
Hoese 1S a Casay fxorg hit ox bit 3, and ceaxed otheise

2 LCALL:LCALL inatxuckioniS Use


a pxogzam Subxoutne
LCALL istsuction Sroses Hhe xehus gddyegs ie He addegs
of hoe geet ishucion immeiately folloi Hae
LCALL
He stactk
ben Pxogxam couotex is_ loaded coith lG - bit Subxouine
addxess Speciled in LCALL inatsuckion cauâing
paogaam
Duxing he eecutiog 0 Rlags
Elags aKe aPfeched.
MT WT FS S
Page No:
Date: YoUVA

SuEelain he Coll.ocsing agsermlex disechveg

0EQu :Equate.
TL is uscd o defioe corstooF anout copyig
amemory
locakioo.
Syotc Labe EQu Numesic vaue
a oang of Hhig xeckive,a numeia value is xelcced
a Syoobol
Fox ea: MAXTMUMEQu 99 Afes Hhiis diaechve over.
aopesance o e \che) MoCimum i0 he pxogxam Hhe

Syota iORG Addsess


The oRG diective is usedto indicate Hhe
Hae adtxegS . The bagjinnig
osigin digeckive tells the asserabie
obese to load ingtsuctions aod daka into mernosy Th
cbangs he pxogsam counhes o he walue SpePies by

Hat come fkex OR& Can be eillexio hex s in


decioa. T¾ Hoenusbex is oot Caloedby H, it is
decigal and Hhe asSegblex oillcony ert it to hex.
Eocodiny
Byt:eg in
Length
xaoges Rolobexe R) Ro
Ro A,ADD Modei ModeAadsegSing )Reasres
CRi1 + A Opeaticn
A
Encoding
lGyteg io
Length
eitbex
O @Rilohexe
iS i A
ADD
ModeAddaessing aIoixect
dakcalomediake Encoding
2Bytea inLengt
data *A,ADD Mode:Asdsesing imediohe
adxess +Ldiaeck GA opexation
A:
addze ixect Encading
i2 Bytes inLengh
addxess ixect A,AOD
AddxesSi
Mode:
ng )loisect
addrassing Ragiskex ku) addsossing )Lodisect
modemeaddacssin
siN Imediate
addxessingadres i) mode
Diaect D
Follotaing using inscki
on aaExplain
ANL
YOUVA Date:
No.: Page
S F T W T M
M
WT F S S
Page No.:
Date: YOUVA

a)Explain Fuochaing a fallo uing ingauckiora:


lOAA: DAA is used to adjust he &cootents oR he
LACCumasox to coseapanding too BcD ousbexGhex
b o BCO nUmbexs havo been added by toe ADD os
ADOcingtxuction.

2)JN2 R,L: DINZ istsyckionis

scTNEdestinaFiog byteSausce byte, xel


cJNE ins tauction is Used to CompoKQ and

Tbis icstouction iS aedto move code byte


MT W T
Page No.:

Date:

YOUVA
Ecdain oaserllex dixecivg.
Assemlex dieciresaxe used to define Symbol
and iniialize shosage Space Cox variabe and
placeoent o Hhe psogonm Code. Contso)
Diseciveg axe coxitten to te columo
one isecive pex psogxam hoe, and allooino opesahon
Assemblex Disecives axe not gSenly
langage igsucki
genexoe aoy machin e code.
hey ase Spesial codes placed in
to irsxuct Hhe assemtly
o8seohlge ko
languaae
taskk ox fuocio pexoxrm
MT WTFS S
Page No.:"
Date: YOUVA

G8)Eplaio soroase developmeoh tools.


editoxiS a pro qsam ohich belps. you to
constsuct
Hbat He osseoblex will tsarslate ik
Oacbioe 90, you Cao ype yout
coxKecty to
\angag pxogxar
usingedi
edikos

2Assemblex i An asemblexis
emblex is pxogxaro that tsanal
lasseroby language ogsam to
e Coxsect binaxy code
Cox eocb ingtxuction e machine code and genesate Hhe
lete called cg objec ile oth eekerion. obi

a)lCxoss Complex Tk isS used o Cxate eecutle code


Pos a olatfoxn oheS ba e one on wbich He Cornoiles

Linkex: Linkex is usod to liok ifexent codes modules


shosed in digEesert Rleg tagethet into a Single Rinal

5) Locatos : Locaox is used to 08sign Specfic addsesses Box


pxogaa code

Complex: A coopiles is a cooputes paogaars Haak taneoe


Souxce code cwxitten psoaamning Yanguage into
ic
anothex compurex \aoguae

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy