FUNCTIONAL DESCRIPTION

2.3.1Multiplexed Bus Cycle Timing

The execution of any 8085A program consists of a sequence of READ and WRITE operations, of which each transfers a byte of data between the 8085A and a particular memory or 1/0 ad- dress. These READ and WRITE operations are the only communication between the processor and the other components, and are all that is necessary to execute any instruction or pro- gram.

Each READ or WRITE operation of the 8085A is referred to as a machine cycle. The execution of each instruction by the 8085A consists of a se- quence of from one to five machine cycles, and each machine cycle consists of a minimum of from three to six clock cycles (also referred to as T states). Consider the case of the Store Ac- cumulator Direct (STA) instruction, shown in Figure 2-9.The STA instruction causes the con- tents of the accumulator to be stored at the direct address specified in the second and third bytes of the instruction. During the first machine cycle (M 1), the CPU puts the contents of the program counter (PC) on the address bus and performs a MEMORY READ cycle to read from memory the opcode of the next instruction (STA). The M1 machine cycle is also referred to as the OPCODE FETCH cycle, since it fetches the operation code of the next instruction. In the fourth clock cycle (T4) of M1, the CPU inter- prets the data read in and recognizes it as the opcode of the STA instruction. At this point the

CPU knows that it must do three more machine cycles (two MEMORY READs and one MEMORY WRITE) to complete the instruction.

The 8085A then increments the program counter so that it points to the next byte of the instruction and performs a MEMORY READ machine cycle (M2) at address (PC + 1). The ac- cessed memory places the addressed data on the data bus for the CPU. The 8085A temporarily stores this data (which is the low-order byte of the direct address) internally in the CPU. The 8085A again increments the program counter to location (PC + 2) and reads from memory (M3) the next byte of data, which is the high- order byte of the direct address.

At this point, the 8085A has accessed all three bytes of the STA instruction, which it must now execute. The execution consists of placing the data accessed in M2 and M3 on the address bus, then placing the contents of the accumulator on the data bus, and then performing a MEMORY WRITE machine cycle (M4). When M4 is finished, the CPU will fetch (M 1) the first byte of the next instruction and continue from there.

State Transition Sequence

As the preceding example shows, the execution of an instruction consists of a series of machine cycles whose nature and sequence is determined by the opcode accessed in the M1

MACHINE

CYCLE

T STATE

ClK

TYPE OF MACHINE CYCLE

ADDRESS BUS

DATA BUS

~------------

INSTRUCTION CYClE --------------

. I

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MEMORY READ

MEMORY READ

MEMORY READ

MEMORY WRITE

THE ADDRESS (CONTENTS OF THE

THE ADDRESS (PC+ 1) POINTS

THE ADDRESS (PC + 2) POINTS

THE ADDRESS IS THE DIRECT

PROGRAM COUNTER) POINTS TO THE

TO THE SECOND BYTE OF

TO THE THIRD BYTE OF THE

ADDRESS ACCESSED IN M2

FIRST BYTE (OPCODE) OF THE

THE INSTRUCTION

INSTRUCTION

AND M3

INSTRUCTION

 

 

 

 

 

 

 

 

 

 

 

 

 

lOW ORDER BYTE OF THE

HIGH ORDER BYTE OF THE

CONTENTS OF THE

INSTRUCTION OPCODE (STA)

DIRECT ADDRESS

DIRECT ADDRESS

ACCUMULATOR

 

 

 

 

 

 

 

 

 

 

 

 

 

FIGURE 2·9 CPU TIMING FOR STORE ACCUMULATOR DIRECT (STA) INSTRUCTION

2-7

Page 30
Image 30
Intel MCS-80/85 manual ·9 CPU Timing for Store Accumulator Direct STA Instruction

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.