Intel 8080 Instruction Fetch, Memory Read, Memory Write, Wait memory synchronization, Interrupts

Page 12

with a clearly defined activity is called a State. And the inter- val between pulses of the timing oscillator is referred to as a Clock Period. As a general rule, one or more clock periods are necessary for the completion of a state, and there are several states in a cycle.

Instruction Fetch:

The first state(s) of any instruction cycle will be dedicated to fetching the next instruction. The CPU issues a read signal and the contents of the program counter are sent to memory, which responds by returning the next instruc- tion word. The first byte of the instruction is placed in the instruction register. If the instruction consists of more than one byte, additional states are required to fetch each byte of the instruction. When the entire instruction is present in the CPU, the program counter is incremented (in prepara- tion for the next instruction fetch) and the instruction is decoded. The operation specified in the instruction will be executed in the remaining states of the instruction cycle. The instruction may call for a memory read or write, an input or output and/or an internal CPU operation, such as a register-to-register transfer or an add-registers operation.

Memory Read:

An instruction fetch is merely a special memory read operation that brings the instruction to the CPU's instruc- tion register. The instruction fetched may then call for data to be read from memory into the CPU. The CPU again issues a read signal and sends the proper memory address; memory responds by returning the requested word. The data re- ceived is placed in the accumulator or one of the other gen- eral purpose registers (not the instruction register).

Memory Write:

A memory write operation is similar to a read except -for the direction of data flow. The CPU issues a write signal, sends the proper memory address, then sends the data word to be written into the addressed memory location.

Wait (memory synchronization):

As previously stated, the activities of the processor are timed by a master clock oscillator. The clock period determines the timing of all processing activity.

The speed of the processing cycle, however, is limited by the memory's Access Time. Once the processor has sent a read address to memory, it cannot proceed until the memory has had time to respond. Most memories are capable of responding much faster than the processing cycle requires. A few, however, cannot supply the addressed byte within the minimum time established by the processor's clock.

Therefore a processor should contain a synchroniza- tion provision, which permits the memory to request a Wait state. When the memory rec.eives a read or write enable sig- nal, it places a request signal on the processor's READY line, causing the CPU to idle temporarily. After the memory has

had time to respond, it frees the processor's READY line, and the instruction cycle proceeds.

Input/Output:

Input and Output operations are similar to memory read and write operations with the exception that a peri- pherall/O device is addressed instead of a memory location. The CPU issues the appropriate input or output control signal, sends the proper device address and either receives the data being input or sends the data to be output.

Data can be input/output in either parallel or serial form. All data within a digital computer is represented in binary coded form. A binary data word consists of a group of bits; each bit is either a one or a zero. Parallel I/O con- sists of transferring all bits in the word at the same time, one bit per line. Serial I/O consists of transferring one bit at a time on a single line. Naturally serial I/O is much s.lower, but it requires considerably less hardware than does parallel I/O.

Interrupts:

Interrupt. provIsions are included on many central processors, as a means of improving the processor's effi- ciency. Consider the case of a computer that is processing a large volume of data, portions of which are to be output to a printer. The CPU can output a byte of data within a single machine cycle but it may take the printer the equiva- lent of many machine cycles to actually print the character specified by the data byte. The CPU could then remain idle waiting until the printer can accept the next data byte. If an interrupt capability is implemented on the computer, the CPU can output a data byte then return to data processing. When the printer is ready to accept the next data byte, it can request an interrupt. When the CPU acknowledges the interrupt, it suspends main program execution and auto- matically branches to a routine that will output the next data byte. After the byte is output, the CPU continues with main program execution. Note that this is, in principle, quite similar to a subroutine call, except that the jump is initiated externally rather than by the program.

More complex interrupt structures are possible, in which several interrupting devices share the same processor but have different priority levels. Interruptive processing is an important feature that enables maximum untilization of a processor's capacity for high system throughput.

Hold:

Another important feature that improves the through- put of a processor is the Hold. The hold provision enables Direct Memory Access (DMA) operations.

In ordinary input and output operations, the processor itself supervises the entire data transfer. Information to be placed in memory is transferred from the input device to the processor, and then from the processor to the designated memory location. In similar fashion, information that goes

1-4

...

Image 12
Contents Page Clock Generator for 8080A System Controller for 8080AProgrammable Communication Interface Programmable Peripheral InterfaceContents 127 Peri pheralsChapter Packaging Information Page Advantages of Designing With Microcomputers Microcomputer Design AidsConventional System Programmed Logic Applications Example Iii1IIII~Iff1 Application Peripheral Devices EncounteredTypical Computer System Architecture of a CPUAccumulator Program Counter Jumps, Subroutines and the Stack Instruction Register and DecoderControl Circuitry Address RegistersArithmetic/Logic Unit ALU Computer OperationsInstruction Fetch Memory ReadMemory Write Wait memory synchronizationPage Page INTE~ 8080 Photomicrograph With Pin DesignationsArchitecture of the 8080 CPU RegistersArithmetic and Logic Unit ALU Instruction Register and ControlData Bus Buffer Processor CycleMachine Cycle Identification State Transition Sequence HaltStatus Word Chart Status Bit DefinitionsStatus Information Definition CPU State Transition Diagram ?~~Rr\ ONE ,----- ~ State Associated Activities ~2. State DefinitionsRLrL- rL rL rL-rL- rLrL Interrupt Sequences¢2 -+--sLJJlL-..rrL~LJLLJTLJJ\.lJL Hold Sequences Halt SequencesSTART-UP of the 8080 CPU 11. Halt Timing ~~~~t==p 001 STATUS6 Xram ~iA~~~11 ~iA~~ll,12~A~~~ll ~iA~~~11Value 111 000 001 010 011 100 101Typical Computer System Block Diagram Basic System OperationCPU Module Design 8080 CPUClock Generator and High Level Driver Clock Generator DesignClK 0.......-..-.-----.. tf1A TTL ~50nsHigh Level Driver Design Ststb !1 Page Interfacing the 8080 CPU to Memory and I/O Devices ROM InterfaceRAM Interface Ill Interface General TheoryIsolated I/O Memory Mapped I/OAddressing Interface ExampleMemr to 13 Format 15 FormatInstruction and Data Formats 8080 Instruction SETByte One Byte TwoByte Three I D7 Addressing ModesSymbols and Abbreviations Symbols MeaningDescription Format AllContent of register r2 is moved to register r1 Data Transfer GroupMOV r1, r2 Move Register Reg. indirect0 I R p 0 I R0 I Arithmetic Group1 I 0 I 0 oR 0 I 0 I D I DI I Logical GroupOCR M Decrement memory Cycles States Addressing reg. indirect Flags Z,S,P ,CY,ACI 0 I 1 I 1 I I 1 I 1 o I 1 I 1 I~11~ 1 1 10 I 1 I 0 I 0 1 I0 I 0 I Cycles States Flags noneBranch Group 000I c c I c I 0 I 0 I Ccondition addrSP ~ SP + Stack, I/O, and Machine Control Group I 1 oPush rp 1 I RExchange stack top with Hand L ~ SP +~ data Cycles States Flags NoneInstruction SET Programmable Peripheral Interface 8224 8080A-1 8228 8080A-2 8080A M8080-A Page Schottky Bipolar PIN NamesFunctional Description GeneralOscillator Clock GeneratorPower-On Reset and Ready Flip-Flops Ststb Status StrobeCharacteristics Crystal RequirementsInput 8pFCharacteristics For tCY = 488.28 ns ExampleT42 T01 T02 T03 Toss TORS tORH tOR FMAXPIN Configuration Block Diagram DbinGeneral BlockSignals Inta None ControlCharacteristics TA = Oc to 70C Vee = 5V ±5% TE~rWaveforms Hlda to Read Status OutputsGoUT StstbVTH VCC=5V·-c GND ---. rIntel Silicon Gate MOS 8080 a ?oo .HVee Vss8080A Functional PIN Definition Characteristics Absolute Maximum RATINGS·Capacitance IOl = 1.9mA on all outputs=..... -r-DATAIN ~I~~~Timing Waveforms ~~1 t CYCharacteristics Typical ~ Output Delay VS. a CapacitanceInstruction SET Typical InstructionsSilicon Gate MOS 8080.A Summary of Processor InstructionsInfel Silicon Gate MOS 8080A-1 Symbol Parameter Typ MaxUnit Fft~l ~tOF.I~-t TYPICAL!J. Output Delay VS. ~ Capacitance Infel Silicon Gate MOS 8080 A-2 +10 CoutJ1A VAOOR/OATA = VSS + O.45VSymbol Parameter Min Unit Test ConditionTypical ~ Output Delay VS. ~ Capacitance Min. Max. Unit Test ConditionPage Intel . Silicon Gate MOS M8080A Immediate mode or I/O instructions Register to regist~r, memory referEnce, arithmetic or logical, rotate Interrupt instructionsSummary of Processor Instructions Llf17Silicon Gate MOS M8080A M8080A Functional PIN DefinitionAbsolute Maximum Ratings IOL = 1.9mA on all outputsOperation Symbol Parameter Min. Max Unit Test Condition Silicon Gate MOS M8080A ~I~Page ROMs 8702A 8704 8708 8316A Page Silicon Gate MOS 8702A Operating Characteristics PIN ConnectionsVoo Switching Characteristics 1N= Vee~10% = V ce\ \ Cs=o.~Operating Characteristics for Programming Operation Symbol TestCharacteristics for Programming Operation SYMBOLTESTMIN. TYP. MAX. Unit ConditionsSwitching Characteristics for Programming Operation CS = OVProgramming Operation of the 8702A Program OperationOperation of the 8702A in Program Mode II. Programming of the 8702A Using Intel MicrocomputersIII a Erasing Procedure Programming Instructions for the 8702APage PIN Configurations Block Diagram PIN NamesComment IIIIBB VOH1Symbol Parameter Typ. Max. Unit Conditions Test ConditionsWaveforms Max UnitParameter Min TpF Program Pulse Fall TimeProgramming Current RnA Program Pulse Amplitude Read/Program/Read Transitions CS/WE = +12V+-------1 150 r PEEEf!1EJEZPlEzz$m=2!·m·· IccSilicon Gate MOS Comment MAX UnitCS=O.O Outa~~~H --4!~--~N-~-TA-AL-~-DU-T--~\ 100 ns 7001 JJ.s200ns 500ns 300 ns Typical Characteristics Cs .. o.~ ~rSilicon Gate MOS Ilcl IlpcIlkc ILOConditions of Test for Characteristics CoUTCIN ~ ~ ~ Mask Option Specifications MarkingPppp Customer Number Oate~ r ------ + -- t --- . L . ------ rJ Title CardBlank 79-80PIN Configuration Block Diagram Intel Silicon Gate MOS ROM 8316A400 Conditions of Test forCAPACITANCE2 TA = 25C, f = 1 MHz OU~TVALID WaveformsTypical D.C. Characteristics ILICO.N Gate MOS ROM 8316ACustomer Number OateSTO Mask Option Speci FicationsTitle Card COM~ANY NameRAMs Page PIN Configuration Logic Symbol Block Diagram Silicon Gate MOS~E~~=~utP~-t-·7~igh-~\/oltage-~------ ---- --i2-+---=~== ~= = OC10H = -150 p.A +----+Conditions of Test 00 ~Page PIN Configuration Logic Symbol Block Diagram Silicon Gate MOSSymbol Parameter Min. Typ.r IIIICC1 ICC2Write 1~-tAW--.I-----I 550 200Input Pulse Rise and Fall Times 20nsec Timing Measurement Reference Level VoltPage Silicon Gate MOS Power Dissipation Watt 5V to +7VComment TA = OOC to +70C, Vee = 5V ±5% unless otherwise specified85o-·-···T +--~~~TL~~~EEt~~~P-.±Capacitance T a = 25C, f = 1MHz Conditions of TestTypical A.C. Characteristics ~~~b~.JSilicon Gate MOS 8102A-4 TA = OC to +70 o e, Vcc = 5V ±5% unless otherwise specified 450 230300 VIN Limits VS. Temperature Access Time VS Ambient TemperatureAccess Time VS LOAD·CAPACITANCE Output Source Current VSFully Decoded Random Access BIT Dynamic Memory PIN Configuration Logic Symbol Block DiagramSilicon Gate MOS 81078·4 IOOAV2II.~ IMP~ri~~CERead Cycle 4000Ref = Write CycleTypical Characteristics Symbol Parameter Min Max RWc 590 CDNumbers in parentheses are for minimum cycle timing in ns Power Dissipation Standby PowerRefresh System Interfaces and FilteringTypical System BIT 256 x 4 Static Cmos RAM ICC2 VIH VOL VOHVOR IcccrInput Pulse Rise and Fall Times 20nsec Timing Measurement Reference Level Volt~I----- t CW2 ------ . t PIN Configuration Logic Symbol Schottky BipolarConditions of Test Voo- --- ---TPower Supply Current Drain and Power Dissipation All driver outputs are in the state indicatedTypical System Dynamic Memory Refresh Controller Page 8212 8255 8251 Page PIN Configuration Logic Diagram EIGHT-BIT INPUT/OUTPUT PortFunctional Description OS2Basic Schematic Symbols II. Gated Buffer 3·STATEAre 3-state Gated BufferIII. Bi-Directional Bus Driver IV. Interrupting Input PortInterrupt Instruction Port BI-DIRECTIONAL BUS DriverVI. Output Port With Hand-Shaking VII Status Latch8080 4 OvJ \.. -4~Viii System OUTVee SystemIX System DalN-t?!NrJ 1G~D L-~Characteristics Absolute Maximum Ratings·Typical Characteristics 052 ~OUT TpwSwitching Characteristics TA = OC to + 75C Vee = +5V ± 5%12 pF Programmable Peripheral Interface ~~~lEI~S 1-- +SVGeneral Data Bus BufferRead/Write and Control Logic Basic Functional DescriptionReset PIN ConfigurationGroup a and Group B Controls Ports A, B, and CMode Selection Single Bit Set/Reset FeatureDetailed Operational Description PA 7 ·pAoOperating Modes Mode 0 Basic Input/Output Mode 0 TimingInterrupt Control Functions Mode 0 Port Definition Chart Mode 0 Configurations119 Operating Modes Mode 1 Strobed Input/Output · / ,4Input Control Signal Definition IBF Input Buffer Full F/FIntr Interrupt Request Inte aOutput Control Signal Definition InteaCombinations of Mode Bi-Directional Bus I/O Control Signal DefinitionOperating Modes Output OperationsMode 2 Control Word Mode 2 Bi-directional TimingMode 2 Combinations Mode 2 and Mode 0 OutputSpecial Mode Combination Considerations Mode Definition Summary TableSource Current Capability on Port B and Port C Reading Port C StatusApplications Printer InterfaceKeyboard and Display Interface Keyboard and Terminal Address InterfacePCO ~.LEFT/RIGHTSilicon Gate MOS Characteristics TA = oc to 70C Vee = +5V ±5% vss = OV Vil Input Low VoltageInput High Voltage Val Output Low Voltage IOl = 1.6mA Time From STB = 0 To IBFMode 0 Basic Input Mode 1 Strobed Input Mode 2 Bi-directional Page Programmable Communication Interface Reset Reset GeneralReadlWrite Control logic ClK ClockModem Control DSR Data Set ReadyTxE Transmitter Empty DTR Data Termin·al ReadyReceiver Buffer Receiver ControlRxRDY Receiver Ready RxC Receiver ClockMode Instruction Command InstructionDetailed Operation Description ProgrammingMode Instruction Definition Asynchronous Mode TransmissionAsynchronous Mode Receive Data C~~RACTERSynchronous Mode Transmission Synchronous Mode ReceiveMode Instruction Format, Synchronous Mode Synchronous Mode, Transmission FormatCommand Instruction Definition Command Instruction FormatStatus Read Definition Status Read FormatAsynchronous Serial Interface to CRT Terminal, DC-9600 Baud Asynchronous Interface to Telephone LinesSynchronous Interface to Terminal or Peripheral Device Synchronous Interface to Telephone LinesCapacitance IccIOL TA = oc to 70C VCC = 5.0V ±5% Vss = OV Symbol Parameter TypRxD SRX ~4IlI~AST BIT ,----1 RXD~Peripherals Page High Speed 1 OUT of 8 Binary Decoder Enable Gate DecoderSystem Using a very similar circuit to the I/O port decoder, an ar Port DecoderChip Select Decoder 24K Memory InterfaceLogic Element Example \lJJJ,.--+-I----.....1 IllCharacteristics TA = OOC to +75C, Vee = 5.0V ±5% Typical CharacteristicsSymbol VOL VOH 8205Switching Characteristics Conditions of Test Test Load Address or Enable to Output Delay VS. Load CapacitanceAddress or Enable to Output Delay VS. Ambient Temperature Test WaveformsPIN Configuration ~ R~ ~ Interrupts in Microcomputer Systems Polled MethodInterrupt Method Priority Encoder Current Status RegisterControl Signals INTE, elKElR, ETlG, ENGl AO, A1, A2Level Controller Basic OperationI I Level ControllerCascading Operating Characteristics Symbol Parameter Limits Unit Conditions Min Typ.£1Los Absolute Maximum RatingsCharacteristics and Waveforms TA = oc to +70C, vcc = +5V ±5% Schottky Bipolar +-......---- n cs 8216 8226Bi-Directional Driver Control Gating OlEN, CSApplications of 8216/8226 Memory and 1/0 Interface to a Bi-directional BusLarge microcomputer systems it is often necessary to pro IcC Power Supply Current 120 Input Load Current OlEN, CS VF =0.45Input Load Current All Other Inputs VF =0.45 Input Leakage Current OlEN, CS VR =5.25VWaveforms OUTPage 8253 8257 8259 Page Programmable Interval Timer It uses nMOS technology ~Jmodesof operation areBlock Diagram Preliminary Functional DescriptionSystem Interface System InterfaceProgrammable DMA Controller System Interface Dack 2System Application CS-------It LJJ CPU Group ROMs RAMsPeripheral Coming Soon Intel~~~1 735~It-j \.--.J.. ~~~l ·34o~Lead Plastic Dual IN-LINE Package P Lead CerDIP Dual IN-LINE Package DSales and Marketing Offices Distributors Page Page Page Page Page Page Instruction SET Instruction SET Summary of Processor Instructions By Alphabetical OrderMicrocomputer System Users Registration Card Intel Corporation Microcomputer Systems Bowers Avenue Santa Clara, CAInter
Related manuals
Manual 96 pages 34.66 Kb Manual 36 pages 44.12 Kb Manual 160 pages 43.4 Kb

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.