Sharp MZ-80B Owner's Manual page 92

Hide thumbs Also See for MZ-80B:
Table of Contents

Advertisement

83
NON
MASKABLE
INTERRUPT RESPONSE
Figure
3.0-6
illustrates the
request/acknowledge
cycle
for the non mask able
interrupt. This
signal is sampled at the
same time as the interrupt
line,
but
this line
has priority over the normal interrupt and it can not be disabled
under
soft-
ware control. Its
usual
function
is
to provide immediate response to important signals such as an impending power
failure. The CPU response to a
non
maskable interrupt is similar to a normal
memory
read
operation.
The
only
differ-
ence being that the content of the
data
bus is ignored while the processor automatically stores
the
PC in the
external
stack and jumps to location 0066H. The service routine for the non maskable
interrupt
must begin at this
location
if
this
interrupt
is
used.
HALT EXIT
Whenever a software halt instruction is executed the CPU begins executing NOP's
until
an interrupt is received
(either a non maskable or a maskable interrupt while the interrupt flip flop
is
enabled). The two interrupt lines are sam-
pled with the rising clock edge during each
T4
state as shown in Figure 3.0-7. If a non maskable interrupt
has
been
received or a maskable interrupt
has been
received and the interrupt enable flip-flop is set, then
the
halt state will be
exited on the next rising clock edge. The following cycle will then be an interrupt acknowledge cycle corresponding to
the type of interrupt that was
received.
If both are received at this time, then the non maskable one will be acknowl-
edged since it has highest priority. The purpose of executing NOP instructions while in the halt state is to keep the
memory refresh signals active. Each cycle in the
halt
state is a normal M 1 (fetch) cycle except that the data received
from
the
memory is ignored and a NOP instruction is forced internally to the CPU.
The
halt acknowledge signal
is
active during this time to indicate that the processor is in the halt state
.
AO
-
A15
RD
RFSH
----'
-
-
- - Last
M
Cycle
M!
~
--~]_
Last T Time
Tl
T2
Ta
T4
~
IL-
~
~ ~
L----
------ ------
- - - - -
t - - - - - - -
----
- - - - - - - - - - - - - - - - - -
- - - - -
X
X
\
I
\
I
\
J
\
NON MASKABLE INTERRUPT REQUEST OPERATION
FIGURE 3.0-6
- - M l
--
--11----
-- - - - - - M 1 - - - - - - - - - - t - - - M 1
HALT INSTRUCTION
IS
RECEIVED
DURING
THIS
MEMORY
CYCLE
HALT EXIT
FIGURE 3.0-7
Tl
~
r--
----- -
------
r--
X
-
I

Advertisement

Table of Contents
loading

Table of Contents