FUNCTIONAL DESCRIPTION

The 8085A, before respondin~ to the RST 7.5 interrupt, receives a RES T IN signal from an external source; this also ac- tivates the internal reset.

The 8085A executes a SIM instruction, with accumulator bit 4 previously set to 1. (See Figure 2-4.)

The third type of hardware interrupt is TRAP. This input is not subject to any mask or inter- rupt enable/disable instruction. The receipt of a positive-going edge on the TRAP input triggers the processor'shardware interrupt sequence, but the pulse must be held high until acknowledged internally (see Figure 2-68).

The sampling of all interrupts occurs on the descending edge of CLK, one cycle before the end of the instruction in which the interrupt in- put is activated. To be recognized, a valid inter- rupt must occur at least 160 ns before sampling time in the8085A, or 150 ns in the 8085A-2. This means that to guarantee being recognized, RST

5.5and 6.5 and TRAP need to be held on for at least 17 clock states plus 160 ns (150 for 8085A-2), assuming that the interrupt might ar- rive just barely too late to.be acknowledged dur- ing a particular instruction, and that the follow- ing instruction might be an 18-state CALL. This timing assumes no WAIT or HOLD cycles are used.

The way interrupt masks are set and read is described in Chapter 4 under the RIM (read in-

terrupt mask) and SIM (set interrupt mask) in- struction listings. Interrupt functions and their priorities are shown in the table that follows.

Name

Priority

Address (1)

Type

Branched to

Trigger

 

 

when Inter·

 

 

 

rupt occurs

 

 

 

 

 

TRAP

 

24H

Rising edge

 

 

 

AND high

 

 

 

level until

 

 

 

sampled

RST 7.5

2

3CH

Rising edge

 

 

 

(latched)

RST 6.5

3

34H

High level

 

 

 

until sam-

 

 

 

pled

RST 5.5

4

2CH

High level

 

 

 

until sam-

 

 

 

pled

INTR

5

(2)

High level

 

 

 

until sam-

pled

NOTES:

(1)In the case of TRAP and RST 5.5-7.5, the contents of the Program Counter are pushed onto the stack. before the branch occurs.

(2)Depends on the instruction that is pro- vided to the 80S5A by the 8259 or other circuitry when the interrupt is acknowl- edged.

2.2.8Serial Input and Output

The SID and SOD pins help to minimize chip count in small systems by providing for easy in- terface to a serial port using software for timing and for coding and decoding of the data. Each time a RIM instruction is executed, the status of

the SID pin is read into bit 7 of the accumulator. RIM is thus a dual-purpo~einstruction. (See

Chapter 4.) In similar fashion, SIM is used to latch bit 7 of the accumulator out to the SOD output via an internal flip-flop, providing that bit 6 of the accumulator is set to 1. (See Figure 2-7.) Section 2.3~8 describes SID and SOD timing.

SID can also be used as a general purpose TEST input and SOD can serve as a one-bit con- trol output.

EFFECT OF RIM INSTRUCTION

SID

+

B08SA

I

ACCUMULATOR

EFFECT OF SIM INSTRUCTION

SOD

B08SA

F.F.

ACCUMULATOR

FIGURE 2-7 EFFECT OF RIM AND SIM INSTRUCTIONS ON SERIAL DATA LINES

2-5

Page 28
Image 28
Intel MCS-80/85 Name Priority, Type, Branched to, Trigger, When Inter· Rupt occurs, Rising edge, High, Level until, Rst

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.