HOLD SEQUENCES

The S080A CPU contains provisions for Direct Mem- ory Access (DMA) operations. By applying a HOLD to the appropriate control pin on the processor, an external device can cause the CPU to suspend its normal operations and re- linquish control of the address and data busses. The proces- sor responds to a request of this kind by floating its address to other devices sharing the busses. At the same time, the processor acknowledges the HO LD by placing a high on its HLDA outpin pin. During an acknowledged HOLD, the address and data busses are under control of the peripheral which originated the request, enabling it to conduct mem- ory transfers without processor intervention.

Like the interrupt, the HO LD input is synchronized internally. A HOLD signal must be stable prior to the "Hold set-up" interval (tHS), that precedes the rising edge of <1>2.

Figures 4-9 and 4-10 illustrate the timing involved in HOLD operations. Note the delay between the asynchronous HOLD REQUEST and the re-clocked HOLD. As shown in the diagram, a coincidence of the READY, the HOLD, and the <1>2 clocks sets the internal hold latch. Setting the latch enables the subsequent rising edge of the <1>1 clock pulse to trigger the H LDA output as described below.

Acknowledgement of the HOLD REQUEST precedes slightly the actual floating of the processor's address and data lines. The processor acknowledges a HO LD at the begin- ning of T3, if a read or an input machine cycle is in progress (see Figure 4-9). Otherwise, acknowledgement is deferred until the beginning of the state following T3 (see Figure 4-10). In both cases, however, the HLDA goes high within a specified delay (tDC) of the rising edge of the selected <1>1 clock pulse. Address and data lines are floated within a brief delay after the rising edge of the next <1>2 clock pulse. This relationship is also shown in the diagrams.

To all outward appearances, the processor has suspend- ed its operations once the address and data busses are floated_ Internally, however, certain functions may continue. If a HOLD REQUEST is acknowledged at T3, and if the pro- cessor is in the middle of a machine cycle which requires four or more states to complete, the CPU proceeds through T 4 and T5 before coming to a rest. Not until the end of the machine cycle is reached will processing activities cease. Internal processing is thus permitted to overlap the external DMA transfer, improving both the efficiency and the speed of the entire system.

The processor exits the holding state through a sequence similar to that by which it entered. A HOLD REQUEST is terminated asynchronously when the external device has coll1pleted its data transfer. The H LDA output

returns to a low level following the leading edge of the next <1>1 clock pulse. Normal processing resumes with the ma- chine cycle following the last cycle that was executed.

HALT SEQUENCES

When a halt instruction (HLT) is executed, the CPU enters the ha It state (TWH) after state T 2 of the next ma- chine cycle, as shown in Figure 4-11. There are only three ways in which the 8080 can exit the halt state:

A high on the RESET line will always reset the 8080 to state T1; RESET also clears the program counter.

A HOLD input will cause the 8080 to enter the hold state, as previously described. When the HOLD line goes low, the 8080 re-enters the halt state on the rising edge of the next <1>1 clock pulse.

An interrupt (i.e., INT goes high while INTE is enabled) will cause the 8080 to exit the Halt state and enter state T 1 on the rising edge of the next

<1>1 clock pulse. NOTE: The interrupt enable (INTE) flag must be set when the halt state is entered; otherwise, the 8080 will only be able to exit via a RESET signal.

Figure 4-12 illustrates halt sequencing in flow chart

form.

START-UP OF THE 8080 CPU

When power is applied initially to the 8080, the pro- cessor begins operating immediately. The contents of its program counter, stack pointer, and the other working regis- ters are naturally subject to random factors and cannot be specified. For this reason, it will be necessary to begin the power-up sequence with RESET.

An external RESET signal of three clock period dura- tion (minimum) restores the processor's internal program counter to zero. Program execution thus begins with mem- ory location zero, following a RESET. Systems which re- quire the processor to wait for an explicit start-up signal will store a halt instruction (EI, HLT) in the·first two loca- tions. A manual or an automatic INTER RUPT will be used for starting. In other systems, the processor may begin ex- ecuting its stored program immediately. Note, however, that the RESET has no effect on status flags, or on any of the processor's working registers (accumulator, registers, or stack pointer). The contents of these registers remain inde- terminate, until initialized explicitly by the program.

4-13

Page 76
Image 76
Intel MCS-80/85 manual Hold Sequences

MCS-80/85 specifications

The Intel MCS-80/85 family, introduced in the late 1970s, is a seminal collection of microprocessors that played a pivotal role in the early days of computing. The MCS-80 series, initially targeting embedded systems and control applications, gained remarkable attention due to its innovative architecture and flexible programming capabilities.

The MCS-80 family is anchored by the 8080 microprocessor, which was one of the first fully integrated 8-bit microprocessors. Released in 1974, the 8080 operated at clock speeds ranging from 2 MHz to 3 MHz and featured a 16-bit address bus capable of addressing up to 64KB of memory. The processor’s instruction set included around 78 instructions, providing extensive capabilities for data manipulation, logic operations, and branching.

Complementing the 8080 was a suite of support chips, forming the MCS-80 platform. The most notable among them was the 8155, which integrated a static RAM, I/O ports, and a timer, tailored for ease of designing systems around the 8080. Other support chips included the 8085, which provided improvements with an integrated clock generator, making it compatible with more modern designs and applications.

The MCS-85 series, on the other hand, revolves around the 8085 microprocessor, which provided a more advanced architecture. The 8085 operated at clock speeds of up to 6 MHz and came with a 16-bit address bus, similar to its predecessor. However, it introduced more sophisticated features, including an enhanced instruction set and support for interrupt-driven programming. These enhancements made the 8085 especially appealing to developers working in real-time processing environments.

The MCS-80/85 family utilized NMOS technology, known for its lower power consumption and higher performance compared to previous technologies like TTL. The family’s architecture allowed for easy interfacing with a variety of peripherals, making it a favorite for educational institutions and hobbyists embarking on computer engineering projects.

With its robustness, versatility, and affordability, the Intel MCS-80/85 microprocessors laid the groundwork for many subsequent microcomputer systems and applications. The legacy of this powerful family continues to influence modern microprocessor design, emphasizing the importance of reliable architecture in a rapidly evolving technology landscape.