17.05.2015 Views

16-Bit Microprocessor Handbook

16-Bit Microprocessor Handbook

16-Bit Microprocessor Handbook

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

There are <strong>16</strong> data and address lines (DO - 015), which are multiplexed for data input, data output and address<br />

output. Two control lines. ODS and NAOS, identify output on the data and address lines as either data (ODS) or<br />

addresses (NAOS)' A further control line, IDS. is used to strobe data input.<br />

The EXTEND control input is used by slow memories or external devices to lengthen an instruction's execution<br />

time by increasing the duration of a data input/output cycle: this extends the time available for memories or external<br />

devices to capture data output. or to present input data.<br />

The NINIT input control initializes PACE; the Program Counter is set to O. The Stack Pointer, the Stack and the Status<br />

and Control Flags register are cleared.<br />

BPS has already been described; it is used to select either normal or split base page, for base page direct addressing.<br />

NHAL T is a bidirectional control signal used by interrupt and halt logic. As an input. NHALT can induce a Halt state,<br />

or in conjunction with CaNTIN, it can generate a level 0 (highest priority) interrupt request. When the CPU executes a<br />

Halt instruction, NHAL T is output high to identify the Halt state. The various uses of NHAL T and its interaction with<br />

CaNTIN are described in detail later in this chapter.<br />

The CONTIN signal is used to terminate a Halt condition and is also used as an output interrupt acknowledge<br />

signal. When CaNTIN is properly sequenced with the NHAL T signal. it initiates a high priority interrupt. as we mentioned<br />

in the preceding paragraph. CONTIN can also be used as a Jump condition input in the same way as JC 13, 14<br />

and 15, which are described next.<br />

JC13, 14 and 15 provide an interesting capability found in very few microcomputers discussed in this book: the condition<br />

of these three inputs can be tested by a Branch-on-Condition (BOC) instruction, thus allowing external control<br />

signals to directly manipulate PACE program instruction sequences.<br />

F11, 12, 13 and 14 are the outputs for the corresponding flag bits in the Status and Control Flags register.<br />

NIR2, 3, 4 and 5 are the external interrupt request lines. Interrupt priority arbitration logic is included on the<br />

INS8900 (and PACE) chip. NIR2 has the highest priority of the external interrupt lines, and NIR5 has the lowest priority.<br />

INS8900 AND PACE TIMING AND INSTRUCTION EXECUTION<br />

PACE uses a combination of two clock signal inputs to time events internally within the<br />

microprocessor CPU. The clock signals and the resultant internal clock phases can be illustrated<br />

as follows:<br />

PACE<br />

CLOCK<br />

SIGNALS<br />

~<br />

One Machine Cycle<br />

..<br />

One Clock Period One Clock Period One Clock Period One Clock Period<br />

Internal Clock<br />

Phase<br />

I<br />

T1<br />

CLK-U<br />

NCLKJ I<br />

I<br />

I<br />

I<br />

\<br />

1<br />

I<br />

T2 T3<br />

I T4<br />

I<br />

U<br />

I \<br />

I<br />

T5<br />

I T6 T7 I TS<br />

I<br />

I<br />

I<br />

I<br />

U LJ \<br />

I<br />

I \ I<br />

I \ r I<br />

I<br />

I<br />

1-11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!