Intel 8080 manual RLrL- rL rL rL-rL- rLrL, Interrupt Sequences

Models: 8080

1 262
Download 262 pages 56.67 Kb
Page 25
Image 25

INTERRUPT SEQUENCES

The 8080 has the built-in capacity to handle external interrupt requests. A peripheral device can initiate an inter- rupt simply by driving the processor's interrupt (INT) line high.

The interrupt (INT) input is asynchronous, and a request may therefore originate at any time during any instruction cycle. Internal logic re-clocks the external re- quest, so that a proper correspondence with the driving clock is established. As Figure 2-8 shows, an interrupt request (I NT) arriving during the time that the interrupt enable line (I NTE) is high, acts in coincidence with the ~2 clock to set the internal interrupt latch. This event takes place during the last state of the instruction cycle in wh ich the request occurs, thus ensuring that any instruction in progress is completed before the interrupt can be processed.

The INTERRUPT machine cycle which follows the

arrival of an enabled interrupt request resembles an ordinary FETCH machine cycle in most respects. The M1 status bit is transmitted as usual during the SYNC interval. It is accompanied, however, by an INTA status bit (DO) which acknowledges the external request. The contents of the program counter are latched onto the CPU's address lines during T 1, but the counter itself is not incremented during the INTERRUPT machine cycle, as it otherwise would be.

In this way, the pre-interrupt status of the program counter is preserved, so that data in the counter may be restored by the interrupted program after the interrupt request has been processed.

The interrupt cycle is otherwise indistinguishable from an ordinary FETCH machine cycle. The processor itself takes no further special action. It is the responsibility of the peripheral logic to see that an eight-bit interrupt instruction is "jammed" onto the processor's data bus during state T3. In a typical system, this means that the data-in bus from memory must be temporarily disconnected from the pro- cessor's main data bus, so that the interrupting device can command the main bus without interference.

The 8080's instruction set provides a special one-byte call which facilitates the processing of interrupts (the ordi- nary program Call takes three bytes). This is the RESTART instruction (RST). A variable three-bit field embedded in the eight-bit field of .the RST enables the interrupting device to direct a Call to one of eight fixed memory locations. The decimal addresses of these dedicated locations are: 0, 8, 16, 24, 32, 40, 48, and 56. Any of these addresses may be used to store the first instruction (s) of a routine designed to service the requirements of an interrupting device. Since the (RST) is a call, completion of the instruction also stores the old program counter contents on the STACK.

 

 

M1

M2

M3

T3

T1

T2

T3 T4 Ts T1 T2 T3 T1

T2 T3

_n

n

r~

rLrL-rL"-rLrL-rL-rLrL

_---r~U~~Ur--LLJl.LIl.J\.J\U\Wl.Lr\.Jl..Jl.

A1S-0 pc·,

I pc

\

--- ~-I

sP·'

 

X SP·2

 

 

Do \ ---RST--

 

~--1 --

X

PCH

X X

PCl

 

(INTA)

 

 

 

 

SYNC

DBIN

I

\

I

r M

\

'---' L -

RETURN M1, - (INTERNAL) -~\

INTE

INTI

~

INT F/F (INTERNAL)

INHIBIT STORE OF PC+1 (INTERNAL)

STATUS INFORMATION

I\

I\

0---X\@A\@

NOTE: ® Refer to Status Word Chart on Page 2-6.

Figure 2-8. Interrupt Timing

2-11

Page 25
Image 25
Intel 8080 manual RLrL- rL rL rL-rL- rLrL, Interrupt Sequences

8080 specifications

The Intel 8085 and 8080 microprocessors were groundbreaking innovations in the world of computing, paving the way for future microprocessor development and personal computing.

The Intel 8080, introduced in 1974, was an 8-bit microprocessor that played a fundamental role in the early days of personal computing. With a 16-bit address bus, it had the capability to address 64 KB of memory. Running at clock speeds of 2 MHz, the 8080 was notable for its instruction set, which included 78 instructions and 246 opcodes. It supported a range of addressing modes including direct, indirect, and register addressing. The 8080 was compatible with a variety of peripherals and played a crucial role in the development of many early computers.

The microprocessor's architecture was based on a simple and efficient design, making it accessible for hobbyists and engineers alike. It included an 8-bit accumulator, which allowed for data manipulation and storage during processing. Additionally, the 8080 featured registers like the program counter and stack pointer, which facilitated program flow control and data management. Its ability to handle interrupts also made it suitable for multitasking applications.

The Intel 8085, introduced in 1976, was an enhancement of the 8080 microprocessor. It maintained a similar architecture but included several key improvements. Notably, the 8085 had a built-in clock oscillator, simplifying system design by eliminating the need for external clock circuitry. It also featured a 5-bit control signal for status line management, which allowed for more flexible interfacing with peripheral devices. The 8085 was capable of running at speeds of up to 3 MHz and had an extended instruction set with 74 instructions.

One of the standout features of the 8085 was its support for 5 extra instructions for stack manipulation and I/O operations, which optimized the programming process. Additionally, it supported serial communication, making it suitable for interfacing with external devices. Its 16-bit address bus retained the 64 KB memory addressing capability of its predecessor.

Both the 8080 and 8085 microprocessors laid the groundwork for more advanced microprocessors in the years that followed. They demonstrated the potential of integrated circuits in computing and influenced the design and architecture of subsequent Intel microprocessors. Their legacy endures in the way they revolutionized computing, making technology accessible to a broader audience, and their influence is still felt in the design and architecture of modern microprocessors today.