Академический Документы
Профессиональный Документы
Культура Документы
- ~-
,"".,' , _ ... "
;;r, _ - ~ ~'''''~ •_ ,
«i. ._ -', ","
"T" " "
'.
• t
Z80-CPU
,... .... Product
. .-
Specification;
-,' ' .
. ----~
~".>;-
,
Z80A-CfU • -..1. ..
, -, ,_.-"
-~. ,
.
••
mUhi~" i~'"'''P'''~n~'imi"d'~b~':Y"'",'
'.
'. '-
.r .... ' •
,, D.......
.
,.
~
. ""··r
~.
• ... ~'
•
.......G.,
... .-
•
• I ~'-I
..............0. ....
' •.
,,-
"
,
._-
~
" _.
_,_,_
_. ... -'. ,.,:;~... ~ ··
•
•
,
•
•
• •
•
•
,. ¥,=:..'
_. -
. ,
-.
.......
~-
_._~ ~
.. -- I=?lg;:,-
~ J • •
.......- ... .......
" , "
~~
• . _.~
,.
•
· _ ......v
.."',_..
..
~...:..~~.~.-~~
~~
"
.• --
~,-
,,1;<1""
.
"
I rr
.. ¥~o +
--
~
.
. ,
~~..
_ ..."""'fl.
--~_ .. ,
..
• -•
_.- "
,
.... :..
,.. '*' •. ··•..-... ,.... c. , '-"".'
ZSO, ZSOA·CPU Pin Description
.I '
.1 .. •. .. RFSH O]Jtput. active low. RFSH indicates that
-
- •• 14-" " •
,
-
•
• "
.• ..... (Refresh) th~:J"ower J bilS of me addreu bus con-
tain a refresh address for dvnamic
,
-- . •
, • ..
•
•
••,
.... - memories and the cum:nt MREQ slgnal.
should be used to do a refresh read to all
" -
-- -• . -
- - ,,
, '.
~
~
~
HALT
dynamic memories.'
- - , ~
~
(Halt state) the CPU has executed a HALT software
.
-- .
~ {- • -
.•
.,
instruction and is awaiting either a non·
m:t.skable or a m~ble intelTUpt ("'ith
.~~ }-...
,
--
,
•
•
,,
the mask enabled) before operation can
resume. While halted, the CPU executes
NQP's to maintain memory refresh
, ,} • actiVity.
,
WAIT Input, active low, WAIT indicates to the
Z80, Z80A CPU PIN CONFIGURATION (Wait) Z-80 CPU that the addressed memory or
Tri-state output, active high; AO-AI 5 I/O devices afe not ready for a data
"a-All
(Address Bus) constitute a J6-bil addres's bus. The , transfer. The CPU continues to enter wait
address bw provides the address for states for as long IS this lignal is active.
memory (up to 64K bytes) data
exchanges and for I/O device data exchanges. INT Input, active low. The Interrupt Request
(Interrupt slanal is generated by I/O devices. A
Request) request will be honored at t.h~ end of the
Do-o, Tri-slate input/output, active high.
CUtrent insuuetion if th~ internal soft-
(Dau Bus) Do· OJ constitute an &-bit bidirectional ware conuolled int~rrupi enab~ flip-flop
data bus. The d:lla bus is used for d.llla
,
"I Output, active low. MI indicates thai the -Nlltl InpuL active low. The non·mOLSkable
(Machine current machine cycle is the OP code (NOR interruPT request line has a higher priority
Cycle one) fetch cycle of an instruction execution. Mas~able than IN and is always recogniu-1 at th~
Interrupt) end of the current instruction. indeprn·
')iREQ dent of the status of the interrupt enable
Tri-slale OUtput, active low. The memory
(Memory flip·flop. NMI automatically forces the
request signal indicates thai the address
Request) bw holds a valid address for a memory • UO CPU to restan to location 0066~ .
read or memory write operation.
RES!:;, Input, active low. RESET inidaliz.es the
CPU as foUows: reset interrupt enable
IORQ Tri-s.late output, active low. The IORQ flip-flop, clear PC and regisl~rs I and R
(lnputl signal indicates that tnc lower naif of tne and set interrupt to 8080A mode. During
Output addressbtis
, holds a valid I/O address for reset time, the address and data bus go to
Request) a I/O read or write operation. An IORQ a high impedance state and all control'
signal is also generaled when an interrupt output signals go to the inactive state.
is being acknowledged to indicale that an
. interrupt response vector can be placed .BUSRQ Input. active low. The bus' r~qutSt signal has
on the da ta bus. (Bus a higher priority than mIT and Is always rec·
Request) ognized .at the end of the"'surrent machine
-RD
(Memory
-
Trktate output, actiWi 10"'. RD indicates
that the. CPU wants to read data from
cycle and is used to request the CPU address
bus. data bus and tri·state OUtput conuol
Read) signals to go to a high impt'danc:e state 10
Dl(mory or an I/O device. The addressed that other devices can control these bimes.
I/O device or memory should usc this
signal to gate data OIIto the CPU data bw.
BUSAK Output, active low. BllS acknowledge is
(Bus wed to indicate to the requesting device
WR Tri-stale output, active lOW'. WR indicates Acknowledge) that the CPU address bus, data bus and
, (Memory that the CPU data bus holds valid data to tri-state control bus signals have been set
Write) be stored in the addressed memory or I/O to their high impedanC'll slate and the
device. external device can now conuolthese signals.
Timing "a~'eforms
••...... . ' .INSTRUCTION Op'CODE FETCH
Th.: progrJm ~·nilllt.:r ~"'llll~'ll! (Pt·)·I'; p(~..:~d \In lh~ _____ ~~.~'-."<H_~_
. --i•
;tddr~s.~ bus imm..-di:ll e1v :11. the Slarl 01 Ih..- ... \'d~. On(' half
dock urn\' I:H~r ~)~.~ a..:ljv.... 1h~· falJi~y. ~d!:!\' nf '. I, " '. '.
MREQ c:ln be u~d dinxE\y as:l chip enable to dynamic
memoncs. RD when a..:th·... -.indkates ,flat the memory • ....,... ..,.,. I
d:lm should be en3bled omo the CPU data bus. Th.: CPU' II 1..1"'\ J ~:
S3lTIples d313 Wilh th~ rising edge of lhe cloc~ S13le T~ ..
Clock staIn T3 and T.t of a fetch cycle are used to refresh " . \:;,
1...
L l.
_______ J
--------,............----- -- - - T · - - - - ':...-
-
d~'nami": memones \vh~the CPt) is int-ernally decoding •••
..., " !L
....,
• -!._
;lnd exe.:lIling the inSirUCllun. nle refresh cunlrol signal
RFSH indic3Ies th:u:I refresh read of 311 dynamic memories
,.
•
should be 3.::eomphshtd. . \ 'I
,
,
MEMORY READ OR'WRITE CYCLES /
, _--,._..._ •.• "'_" _~ c,..~ _
Illuslraled h<'f<' i~ th... liming flfmemory rcad O! wrile ... ~_·_· ..._ ..... c.... ·
I
~·y,I!!.2lher lh:lll an OP ~'od~ f(,lch (1\I, cycle). II.le- ~l REQ !. "
j t.
" " "
and RD si~l1als ar~ us~d ...",aclly as in ,tilt' fetch cyde. In
lhe case or a' nl<'llIory write cyck. the 10.1 REQ alsfl bt"ollltS •
.. ''', .! M'''','' ."""
ll"ive- whc,~ the :addrt'ss bus is 'slab~e io thtl! it can be u~d
M ...... ' . " " .
....a \ I I
directly as a ..:hip enablt' for dynamic ffit'ffiorks. The WR
.line is active when dala on ,h... dala bus is stable so lhal it
call be use~ dHectly :1.$ a RiW pulse to virtually any type of .. p I
1....-----;--
I
•
- .
\ INPUT OR OUTPlfT CYCLES
•
; lIlustraled here is Ihe liming for an I/O re-ad or 110 write
')pC'f3linn. Notio;e- lhat during I/O operalions a single wait
.' •
'. ., ',' '. I '.
--.
~.
time for an I/O pon 10 decode its address and 3cti\'a Ie- the I
WAif line if a wail is required.. .
, i - .
..... -----~-----rL---------
-:-------1' -~--~T---} •.
• .
••
"y, .'J--
I
-
" INTERRUPT REQUEST/ACKNOWLEDGE CYCLE
.,
>
•
The inlCErUpl signal is sampled by the CPU Wilh the
;'ising edge of the- last clock al lhe end of Iny instruction.
- .. _-
' ..'M< +-'- •. _
;oVhen an interrupt is accepted. :) special MI cycle is
: ~e-ne-ntt'd. During Ihis ~i I cycle-. th... IORQ signal becomes
•
active Iinstead oi MREQ) 10 indicale that the interrupting
device can place an 8-bil vector on lhc data bus. Two wail ......
•~tatt's (T.....·) are automatically added to this cycle so that a
:ippk priority jnrerrupt sehe-m.... such u the one- used in the
•
:l80 peripheral controllers. c::m be easily implemented.
,,
•
,.
I Mnemonic Symbolic Oper.uion Commellts Mnemonic Symbolic Operalion Comments
tD r. s • .
,-,
~
•
A, 5 A ~, •
(IX+el. (IV+e)"
5 E IBC).(OE),
(nnl, L R ,
.=
-
~
o
:;·
~
LDD
LobR
(DE) --IHl). DE - DE-l
liL - HL-I, Be - 8(-1
(QE) -(HL), DE "DE-I
•
,
·
to d. A d-A d:: (BCI. (DEI. HL ..... HL-I.HC-BC-l •
(nn), I. R Repeal unlil Be '" 0
(~i)--(~)
sue , A-A-s-CY
. s=:r,n,{HLJ
· ·
•
, •
~
lit HL'
• ANDs
OR,
A-A"s
A-A Vs
{IX+e).IIY't-e)
~.
.....
':-'~
,.--.
.. '""--.'.
--,{'.
..•
",-.
,
~
Mnemonic Sym~olic Openu,ion Comments Mnemonk: Symbolic O~ralion ,Comment,
• ,
,
ADD HL, is
. AOC HL, ss.
HL-HL+-u-:
HL -HL+u+tY
. >. .'
,
.. '
,
-
IN " (C)
INI
,
-
, (HL) -(C),Hl -Ill"
B +- B-"; I ,- , -- - , , '
,
~
.
._-_.' ,
DEC dd dd-dd-I
HL,.SP, IX, IY
aa"Be,DE,
"
Q
Z
Repeal until 8 ... 0
< OUT(n), A (n) .- A
HL.SP. IX. IY
5 OUT(C), , (C)- r ,
DAA \
Converts A contents into Operands must
packed BCD foll~ing add', be in packed
- OUTI
z (C)- (HL),HL - HL + I
B.... B-1
or subtract. BCD format ,
OTIR (C).... (BL). HL" HL + I
,
8-8-1
: CPt A-A Repeat.until B:O
,
: NEG A-OO-.A
_. , . aUTO (C)~ (HL), HL - HL - 1
, CCF CY -Cy· B+-B-l ,
.
,
' CAll mi
"
SLAs &-l1_.~.
, s=r.(HL) _
<\X'k:),(IY+e) ~
RST L (SP-I)~I'CH
(SI'-Z) -l'Cl.,I'C H - 0 - ,
SRAs r--V_l~
, Pel .... L ,
•
--
<~- •
If condition cc is false. NZ PO
-
W~I~1
~
z continue. else same as RET Z FE
RLD ~
"
~
~
RETI Return from interrupt, " Nt' P
(' M
~ same as RET
RRD 9¢ ~U1U RETN , Return from non-
nuskable interrupt
A.C. Characteristics ,Z80-CPU
.3e' .
TA'" oOe LO 70°(. Vee· +5V:l: S%. Unless Otherwise Noted. • •
No .,,;,
•
... "
.'
"lo.l.m" 'r 15
", '.a" L.,...e:t
>',-.-1
'OlD!
'" ""'.U
'... ·1wl~1
'" ,_.... .
If IDI
,-...
. . . . ..0
'Wo(D) 'at"
'sitD} ,lI \
1)oסi. SuWlI'l.- ... q
DItta S<aWt f _ '1/1
1110 ('y;to I
,., I... • . .~I 't,.-11O
''''
'. •• -- .',_50
'" . . .. . . -..
'(M" 'wtt.l
i ---
, , ,
'MUUl .
'OH<t(lltll
'~flil") Ct " 50pf , , ,
..
'DHi"{RDJ
. --
-- CL" SOpf
III 'Dl/NI,
'llH (Nil
1ii 0.10)1 F...... 1I,Id,. Ed. 0( ('lock. NI Lo.'
Iii Dolly F_ ~ Ell.. oto.. t, ilIl¥ -
- cL • XlpF
POI '-fIl'R)···~· ~
" - •
.. ""
..,
Ct· SOpF
,
"/101 . -.- ,
'DLtBl\)
'DH(1A1
"fIl5)
I~O
", -- C .. SOpF
t '.
,
'flC)
". ..,
'- 1111
- ,
1111 ''''1.'' :!Ic" ......n.. 'I" 10
,
. ,,_. -..... ,...
,",A •
_....
--~
'1 -}~
", .-
1 .....
-.'
A.CTiming Diagram
,
·1
Timing measurements ar-e m<l.de :n the following
vohages, ur1eJS oth~rwlse spe'ciJicd: ..... •
..
-I"
•
ClOCK 'V« ~6V .~5"
oumrr \'
• ,. "
~.o
•
• -
~ ....;~W'
•
.
,
••
'''"'
FLOAT
.
., .
JV
10"' V
.
• '- - .
, ~H.. .,--.
.", l+lJ
Ao-A15
~'_J'=*H'alllilll
"
"",
w.
,~"". ~.!-
,,I
! '• - I, I
I
I
, 11'"
I .
•
I
'liIWT) 'II
~ ..
~~~;~~.!:~~ , 1'11.. ~
"00;<15."'0 >(----}<'.'.~_-_I
'Oll14'
'IIRS ~
....... /
RESET
..----·IX~--
--~-, ,--------
Absolute Maximum Ratings
...".
T=perl''''t Undo. Il~> ~...~r...,J .,!"""M,,, r ...~.
St"..f·l ..... ~ral .... ~~\ h" ISO·t"
Vol",,_ 0.. A.. y Pt• 003V " •• ,\"
.."" II """"'" h. L ''''''''''
Pow., U....I'''iun
. <• .
S"_,,. PlI._n . ~ ... T~,. Mn.
""', Tn.I CoHiIfiuol
.
Sy.. lIool h . -... ·
"". ,... •
, "IU'
('~ ...-.. brU! l~",' '" ,~,,.,,.. • ~.' , ." ,
.
C., '·l.,.,k 1"''''''''0'''' .:~ p'
~
I" '" fl...,
..
i~- ilh~; r"'~.';·::;:'l"l'"' \low I I
! . :10 J'A 0<\'1 ... <:\' .
. "
Capacitance
,
Z80A·CPU D.C. Characteristics
T" '"':~"r. t' .. I ~1rll.
1,\ . " , I" -0',
..
. . . . <\'.' ,
•
Ilnl1l'~ •ur~J • •
fllll' r '1IIrn ',I til ~r"lt'""
I] ~~mll"l I f'x......... • ""n. ll~p I ~,. linn T~lluMUiua
, ,1'... -••, 'b. I·...
, ,.
Sl-·I I
.. II C \ ... ~ 114"" l,i'" "~'4<" ~,
,I ,,'
,I, ,. I '1. I 1••-l1 "".. " ..._. .'~ , .1;-1
, 1111
,
(~ ... ;, l';ru, 11:.... \'';''f<
":, -! • I ..
, ,( I ' "'rill t -'1'.......... •
, Ir t
" Z80A·CPU
,
'"
!-III
·
1',..., l>-.f'l'l,
\·"aut.. \·. ..
Ordering .Informatjon
111111 ,
•
T".S"k (~"I'''' L<:>l.,1 t ..,...., .. Flo..,
" "'
'" "' "01 , . : ~ ", \',~.
11 '11 I ",~"," ,~,'p", I "'~"f" t ",,<nl '" H,,,, ." "' \'01 ,.-U ~\"
..
•
• ,,'
A.C. Characteristics ZSOA-CPlJ
( , .
TA '" O"C 10 70"C. v,~ .. +5V t S~. Unless Olh~rwlS~ Not~d.
-..
.. -, , ~'- • -
'.
'DCDI
1;:,0),.,
00.. 00'...... Drioy
Dotay ... FIaaI DIOriooJW'''''' C)dr
Do,. 5<lMp T_ I. biocUF ulno:l 0...... III C'Y\W ~ - -- 1" lea· ~.L} + I•• SO
""", .........
1~(D) Do.. Sot"P T_ .. f .... ~ ufn..n. CurvII iliI:
o.c. SWIIc I'rioof ,. Q •.....,.,. Cydt.
Do.. SUbk l'l_ .. ft 11IO(y<tr1
Doll SUbit ff\a n
,.. 11I5
.
.
• .,- -, CL -SOpt"
.
'"
1'1
,.,
......·:-;4>ll+I.-.'
lclaa a '0 -170
-.'.,
(dci • I'II(.L) .. I, - 110
Anr Hold T..... r.. Sr,.., T_ o p, Icdr a 1'II(c>l)" Ir -10
"
Rl(Ei) DOll)' f,,,,, foUin. Edit 0100<•. ~ t.-
i -
'DL'; OolR)
'DH-'I1Illlj Iiim Dd'r fl"'" ltJoio. Up' of CI", .... MRa) lilth
RllO DolOI' f,.... Follin. Edp: "" Clo<k.1ii'lmJ I1i;l
""'" 'DHi" (MR)
., C't'SOpf
'w()ii[)
'-(MRH)
N .. WOIII\. ~ l.Dw
Noo Wldlll. lim t¥ R:l= --
::i" --
'DI...,lRI 'Il52 Dol.,. f_1bMt E" of C\oI;k. ~ L-
'Dt.. ~ Ortor f _ Follioo. Ur ..tnod.~l-
" -
".., (II.' ('t 'lOpF
'DtM (I., ~ Odor Fra..~!40 <1lO<d... ~H'"
'tui'(lRI ~,Ddry Fra.. F.... Up ot (1ocUORQ HoP
.. 'DL.(~
lot. iAOl
lJ)Dob\r F. . . . . . . Eolp otOo<k. 11.0 I.-
RDDoIa)" F,_ FolIiq E'" ot('lcri.!p low
1m Drioy F""" Ri.",. E~. <If O<o::k, RD Hill!'
85
::it" --
-
., CL "5Gpf
..
lDl1.IRO)
.. 10ltli (WI
•
1I.ll o<~o~ f',=fda,~ !4< .... """'~. kl> 11"",
.... \ 'Dl.~(Wlt1
'J)lifi'fW'll)
'[)H<lo(II'R)
Wii [)Ny Fill'" Rif,inl Ed,. of 00<:'. ii'il Lo...
'Wi{ Ikl.y r,om r.Uinl Edv of Clo<k. W1l Lo...
'PI DolO)' F,om r.II,nl Edl' ol'Oock, 'Ii'Ii Hill!'
"
:i -, ."
M«
,
CL "lOpr
,., , -,
PuI.. llIid'h, Wi La...
I,. (Wlh.)
iii or...,. F_ ....... Utr otOoc\,m L-
"" 100.1
,,,,. .,
'DLfMlI Cl aSOpF
'" 'DHfMll Iiil t:lrI.1 f' .... II.DuI.
Up .(('.d, ~ H.or -,
'DLlRfl ifSil 001.., r._ RiMI Edt< otOo<t. iiniilow
"'" '00 IRFl J:nR Ddt)' F..... lli.... EdJr III 0""'. RTsiI ....... -', C;l a 50pF
"'" """
Am IDUfTj
'tiiAi'f Set"" T_ 10 f ...... Ed.. 0100::1
KALt Dolq T_ F,_ f.uq Edt< .... C\Q<\
~
JQ()
.'- C
-
o~f
-
L
.......
~ l.nTl
1,(90)·
IRTSet,. T..... '" Raonl Ed. f1IfCiuok
N .. WId,~,Niii La.r
""""
'Dl{lA)
'OtHIAI
IlJn'll: Oolay r"nltiMnc u,r otCiad,1UJn l.-
Jt8n 0d0J r ..... FNllRa EdJo otl"1o<k, ItlIAi ftiIII , -, 'lolOpf
-,
"'" IlJn So'~p T... '0 "'-cEA., oIOact
" .
--,
" (Jl.S)
C.
O.
10 'M <lo<:le.
n. rurr..
Oat,...
",01 ...., .... ac:"
Dolo, ... l.ooocId Copod .....
roo. _ ....... ""
l dook cyd'" '1 -
TA.7ffC Vu:· +SV,tjS
Mit IOn_llitlay r.....ch SOpfIftcrno. lit Ioad ..p 10 muimum of 200pff... elm busJnd 10000fOl'
acIdonl .. eonuollian.
t. ............... _br ............ ....-lOO<+H)el200 __
•
Packa~e
'-
..... , Package Outline '-,
•
Configuration "
, - -
'"
'"
.
•
,,
, ..•
•
J
..., 'n
,
~
.~,OCI""""
<.J:lO_'
~
..- ~ ..
,
'"
'.,.
•
•
•
•, ...•• ..., ,
D 5141'XlMI
, ""••
.:~~::1ilvywTInmi!iUlm "C t==1
~
'" ""
~
••" .....
'"'"
".....
"'
.""
"'"
..." •"
""
•
"" ...
..., ·on"n o,~, n].'
K;'j. <".""l· -- ,_.
.
,""', r.,~'
\00 L $i
n'
100, ~!>l'
'><l,38"
5'10" ,'9...,
;13,,13.\<1. -I
,
" "
'"
- AliSTRlA .... FRA:'ICE IT,\l Y ~WEI)EN -
"onUon ~5. M.B.H'. & Co "'. A2M E1.hn~r SI'A Scandi, Mellie AS
,1.·1140 Wein 40 rue des nllcu!J va l'ran~'e~"O l'enucciQ 2 B.lnvakuVlI,en 20
Ameil,4'f 92100 souto,nt 2(1145 Mibn Fad: 5111 III
Tel: 945646 Tel: 6036640 Trl: 3491539 or 3490084 Solna I.
T......: 01·1699 Tw:c: 200491 Twx: 2SW Td: 820400
I . l"x: 10766
BELGIUM FltiLANO NETHERLANDS
Htliap'lph Finn Melric OY Trkelec Airtronic SWITZERLAND
Mjnj~rrr de SaeJer1.un I Ahnujanlit' 6D Kruhlun 2]S Sl:olz AC
B-9220 Merclbd:c 02100upoo '!'\mSlerdam OJ 8968 Muuchelkn
T.-:I: 091(30'13 14 Ttl; 90}46 08 ... Tel: 928166 Tel: OS1 S 4ft SS
n ...; J ~104 TWlt; 122011 ~ T....x: 16009 Twx: 54010
D£NMARK GER.\olANY NORWAY UNITED KINGDOM
Kontron EltklTonik GmbH Melric A. S. -Cnmer Eleelronics
SC Metrie AIS
Osk" VO:l-MiUer Strl1se I I'ouboks 8S 16 Uxbridge Road
Skocbborl'cj JOS
2850 Naefum 8051 EchinS bei Munchen BekJi;elaphopa £.aling
Tel: 0816517321 Oslo II London W5 20P
Tel: 02/804200
Twx: 526512 Tel: 28 26 24 Tel: 01 579 3001
Twx: 31163
r .....:. 18461 Twx: 933592
GREECE
SI'AIN Micropower Limited
Miaos)'Slems O.E. Ibmpstead Kouse
16 ATerOfSlreet Unitronks S. A. Buinp:olte
"'.-
Athens 103 PrinceD. I tunn. RGi+lJ LG
Madrid OJ} -Tel: (02561"'54121 ••
Tel: 822-306. .Iso in Barceloaa T1l':l: ISU72
Twx: 214912 Tel: 2.(2 52 04
Twx: 2U96 Mcmec S)'Jlcms Limited
Thune: Park Industrial ~Ialc
Th.~
Ox.Cords.hire OX9 JSR
Tel: 08-4 421 )149
Zilog T....x: unol
,
-~
'M/I/lS PRINTED BY RUTLAND PRESS· MAIDENHEAD ENGLAND
••