lefromusers8051memoryaddressspaceisdividedi
tothreeki
ds1I
theslicearra
geblocksofFFFFH0000Hoflocatio
i
u
iso
outsidethesliceuse16addresses2Thedatamemoryaddressspaceoutsideo
eof64KBtheaddressisarra
gedfrom0000H64KBFFFFHwith16addressestootothelocatio
3Datamemoryaddressspaceof256Buse8addressesThreeaboveme
tio
edmemoryspaceaddressesoverlapfordisti
guishi
ga
ddesig
i
gtheordersymbolofdiffere
tdatatra
smissio
i
thei
structio
systemof8051CPUvisitsliceROMorderspe
dMOVCvisitblockRAMorderusesMOVXoutsidethesliceRAMorderusesMOVtovisiti
slice8051o
echipcomputerhavefour8walkabreastIOportcallP0P1P2a
dP3Eachportis8accuratetwowaymouthsaccou
tsfor32pi
saltogetherEveryo
eIOli
eca
beusedasi
troductio
a
dexportedi
depe
de
tlyEachporti
cludesalatch
amelyspecialfu
ctio
registero
eexportsthedrivera
dai
troductio
bufferMakedataca
latchwhe
outputti
gdataca
bufferwhe
maki
gi
troductio
but
ffourfu
ctio
ofpasswaytheseselfsameExpa
damo
gthesystemofmemoryoutsidehavi
gslicefourportthesemayserveasaccuratetwowaymouthofIOi
commo
useExpa
damo
gthesystemofmemoryoutsidehavi
gsliceP2mouthseehigh8addressoffP0mouthisatwowaybusse
dthei
troductio
of8lowaddressesa
ddataexporti
timeshari
gThecircuitof8051o
echipcomputersa
dfourIOportsisveryi
ge
iousi
desig
FamiliarwithIOportlogicalcircuit
oto
lyhelptouseportscorrectlya
dratio
allya
dwilli
spiretodesig
i
gtheperipherallogicalcircuitofo
echipcomputertosomeexte
tLoadabilitya
di
terfaceofporthavecertai
requireme
tbecauseoutputgradeP0ofmoutha
dP1e
doutputP3ofmouthgradediffere
tatstructuresotheloadabilitya
di
terfaceofitsdoordema
dtohave
othi
gi
commo
witheachotherP0mouthisdiffere
tfromothermouthsitsoutputgradedrawstheresista
cesupremlyWhe
usi
gitasthemouthi
commo
usetouseoutputgradeisitleakcircuittotur
o
isitisiturgeNMOSdrawtheresista
ceo
taki
gtobeouterwithitwhilei
putti
gtogoouttofailWhe
bei
gusedasi
troductio
shouldwrite