Intel® 80C186EA/80C188EA AND 80L186EA/80L188EA 16-Bit High-Integration Embedded Processors Datasheet ■ ■ ■ ® Intel 80C186 Upgrade for Power Critical Applications Fully Static Operation True CMOS Inputs and Outputs Product Features ■ ■ Integrated Feature Set — Static 186 CPU Core — Power Save, Idle and Powerdown Modes — Clock Generator — 2 Independent DMA Channels — 3 Programmable 16-Bit Timers — Dynamic RAM Refresh Control Unit — Programmable Memory and Peripheral Chip Select Logic — Programmable Wait State Generator — Local Bus Controller — System-Level Testing Support (High Impedance Test Mode) ■ ■ ■ ■ ■ Speed Versions Available (3V) — 13 MHz (Intel® 80L186EA13/ 80L188EA13) Direct Addressing Capability to 1 Mbyte Memory and 64 Kbyte I/O Supports Intel® 80C187 Numeric Coprocessor Interface (Intel® 80C186EA only) Available in the Following Packages: — 68-Pin Plastic Leaded Chip Carrier (PLCC) Available in Extended Temperature Range (-40°C to +85°C) Speed Versions Available (5V): —25 MHz (Intel® 80C186EA25/80C188EA25) —20 MHz (Intel® 80C186EA20/80C188EA20) —13 MHz (Intel® 80C186EA13/80C188EA13) The Intel® 80C186EA is a CHMOS high integration embedded microprocessor. The Intel® 80C186EA includes all of the features of an ``Enhanced Mode'' Intel® 80C186 while adding the additional capabilities of Idle and Powerdown Modes. In Numerics Mode, the Intel® 80C186EA interfaces directly with an Intel® 80C187 Numerics Coprocessor. Order Number: 272432-005 April 2002 Information in this document is provided in connection with Intel® products. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted by this document. Except as provided in Intel's Terms and Conditions of Sale for such products, Intel assumes no liability whatsoever, and Intel disclaims any express or implied warranty, relating to sale and/or use of Intel products including liability or warranties relating to fitness for a particular purpose, merchantability, or infringement of any patent, copyright or other intellectual property right. Intel products are not intended for use in medical, life saving, or life sustaining applications. Intel may make changes to specifications and product descriptions at any time, without notice. Designers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined." Intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. The Intel® 80C186EA/80C188EA AND 80L186EA/80L188EA may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request. Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order. Copies of documents which have an ordering number and are referenced in this document, or other Intel literature may be obtained by calling 1-800-548-4725 or by visiting Intel's website at http://www.intel.com. Copyright © Intel Corporation, 2002 AlertVIEW, i960, AnyPoint, AppChoice, BoardWatch, BunnyPeople, CablePort, Celeron, Chips, Commerce Cart, CT Connect, CT Media, Dialogic, DM3, EtherExpress, ETOX, FlashFile, GatherRound, i386, i486, iCat, iCOMP, Insight960, InstantIP, Intel, Intel logo, Intel386, Intel486, Intel740, IntelDX2, IntelDX4, IntelSX2, Intel ChatPad, Intel Create&Share, Intel Dot.Station, Intel GigaBlade, Intel InBusiness, Intel Inside, Intel Inside logo, Intel NetBurst, Intel NetStructure, Intel Play, Intel Play logo, Intel Pocket Concert, Intel SingleDriver, Intel SpeedStep, Intel StrataFlash, Intel TeamStation, Intel WebOutfitter, Intel Xeon, Intel XScale, Itanium, JobAnalyst, LANDesk, LanRover, MCS, MMX, MMX logo, NetPort, NetportExpress, Optimizer logo, OverDrive, Paragon, PC Dads, PC Parents, Pentium, Pentium II Xeon, Pentium III Xeon, Performance at Your Command, ProShare, RemoteExpress, Screamline, Shiva, SmartDie, Solutions960, Sound Mark, StorageExpress, The Computer Inside, The Journey Inside, This Way In, TokenExpress, Trillium, Vivonic, and VTune are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. *Other names and brands may be claimed as the property of others. 2 Datasheet Contents Contents 1.0 Introduction....................................................................................................................................7 2.0 Intel® 80C186EA Core Architecture............................................................................................. 9 2.1 2.2 3.0 Intel® 80C186EA Peripheral Architecture ................................................................................. 11 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 4.0 Bus Interface Unit .................................................................................................................9 Clock Generator.................................................................................................................... 9 Interrupt Control Unit .......................................................................................................... 11 Timer/Counter Unit ............................................................................................................. 11 DMA Control Unit ................................................................................................................ 14 Chip-Select Unit .................................................................................................................. 14 Refresh Control Unit ........................................................................................................... 14 Power Management............................................................................................................ 14 80C187 Interface (80C186EA Only) ................................................................................... 15 ONCE Test Mode ...............................................................................................................15 Intel® 80C186XL and Intel® 80C186EA Differences................................................................. 16 4.1 4.2 4.3 4.4 4.5 4.6 Pinout Compatibility ............................................................................................................ 16 Operating Modes ................................................................................................................ 16 TTL vs. CMOS Inputs ......................................................................................................... 16 Timing Specifications .......................................................................................................... 16 Package Information ........................................................................................................... 17 Pin Descriptions .................................................................................................................. 17 5.0 Intel® 80C186EA Pinout.............................................................................................................. 22 6.0 Package Thermal Specifications................................................................................................ 24 7.0 Electrical Specification ...............................................................................................................25 7.1 7.2 8.0 Absolute Maximum Ratings*............................................................................................... 25 Recommended Connections .............................................................................................. 25 DC Specifications ........................................................................................................................ 26 8.1 8.2 Datasheet ICC Versus Frequency and Voltage ................................................................................... 28 PDTMR Pin Delay Calculation ............................................................................................29 3 Contents 9.0 AC Specifications ........................................................................................................................ 30 10.0 AC Test Conditions ..................................................................................................................... 34 11.0 AC Timing Waveforms ................................................................................................................ 35 12.0 Derating Curves........................................................................................................................... 38 13.0 Reset............................................................................................................................................. 39 14.0 Bus Cycle Waveforms................................................................................................................. 42 15.0 Product Name Execution Timings ............................................................................................. 49 16.0 Revision History .......................................................................................................................... 56 17.0 Errata ............................................................................................................................................ 56 4 Datasheet Contents Figures 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Product Name Block Diagram ...................................................................................................... 8 Clock Configurations................................................................................................................... 10 68-Lead PLCC Pinout Diagram .................................................................................................. 23 AC Test Load.............................................................................................................................. 34 Input and Output Clock Waveform.............................................................................................. 35 Output Delay and Float Waveform ............................................................................................. 35 Input Setup and Hold .................................................................................................................. 36 Relative Signal Waveform .......................................................................................................... 37 Typical Output Delay Variations Versus Load Capacitance ....................................................... 38 Typical Rise and Fall Variations Versus Load Capacitance ....................................................... 38 Powerup Reset Waveforms ........................................................................................................40 Warm Reset Waveforms............................................................................................................. 41 Read, Fetch and Refresh Cycle Waveform ................................................................................ 42 Write Cycle Waveform ................................................................................................................ 43 Halt Cycle Waveform .................................................................................................................. 44 INTA Cycle Waveform ................................................................................................................ 45 HOLD/HLDA Waveform.............................................................................................................. 46 DRAM Refresh Cycle During Hold Acknowledge .......................................................................47 Ready Waveform ........................................................................................................................ 48 Instruction Set Summary ............................................................................................................ 50 Tables 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Peripheral Control Block Registers............................................................................................. 12 Intel® 80C186EA Slave Mode Peripheral Control Block Registers ............................................ 13 Prefix Identification ..................................................................................................................... 17 Pin Description Nomenclature .................................................................................................... 18 Pin Descriptions.......................................................................................................................... 19 PLCC Pin Names with Package Location................................................................................... 22 PLCC Package Location with Pin Names................................................................................... 22 Thermal Resistance (qCA) at Various Airflows (in °C/Watt) ....................................................... 24 DC SPECIFICATIONS (80C186EA/80C188EA) ........................................................................ 26 DC SPECIFICATIONS (80L186EA/80L188EA).......................................................................... 27 CDEV Values.............................................................................................................................. 28 AC Characteristics—80C186EA25/80C186EA20/80C186EA13 ................................................ 30 AC Characteristics—80L186EA13/80C186EA8 .........................................................................32 Relative Timings (80C186EA25/20/13, 80L186EA13)................................................................ 33 Datasheet 5 Contents Revision History 6 Date Revision Description June 2002 005 Discontinued device reference removal and reformatting. April 2002 004 Datasheet updates Datasheet Introduction 1.0 Introduction Unless specifically noted, all references to the Intel® 80C186EA apply to the Intel® 80C188EA, Intel® 80L186EA, and Intel® 80L188EA. References to pins that differ between the Intel® 80C186EA/80L186EA and the Intel® 80C188EA/ 80L188EA are given in parentheses. The “L” in the part number denotes low voltage operation. Physically and functionally, the “C” and “L” devices are identical. The 80C186EA is the second product in a new generation of low-power, high-integration microprocessors. It enhances the existing Intel® 80C186XL family by offering new features and operating modes. The 80C186EA is object code compatible with the 80C186XL embedded processor. The 80L186EA is the 3V version of the 80C186EA. The 80L186EA is functionally identical to the 80C186EA embedded processor. Current 80C186EA customers can easily upgrade their designs to use the 80L186EA and benefit from the reduced power consumption inherent in 3V operation. The feature set of the 80C186EA/80L186EA meets the needs of low-power, space-critical applications. Low-power applications benefit from the static design of the CPU core and the integrated peripherals as well as low voltage operation. Minimum current consumption is achieved by providing a Powerdown Mode that halts operation of the device, and freezes the clock circuits. Peripheral design enhancements ensure that non-initialized peripherals consume little current. Space-critical applications benefit from the integration of commonly used system peripherals. Two flexible DMA channels perform CPU-independent data transfers. A flexible chip select unit simplifies memory and peripheral interfacing. The interrupt unit provides sources for up to 128 external interrupts and will prioritize these interrupts with those generated from the on-chip peripherals. Three general purpose timer/counters round out the feature set of the 80C186EA. Figure 1 shows a block diagram of the 80C186EA/ 80C188EA. The Execution Unit (EU) is an enhanced 8086 CPU core that includes: dedicated hardware to speed up effective address calculations, enhance execution speed for multiple-bit shift and rotate instructions and for multiply and divide instructions, string move instructions that operate at full bus bandwidth, ten new instructions, and static operation. The Bus Interface Unit (BIU) is the same as that found on the original 80C186 family products. An independent internal bus is used to allow communication between the BIU and internal peripherals. Product Name Datasheet 7 Introduction Figure 1. Product Name Block Diagram Note: Pin names in parentheses apply to the 80C186EA / 80L188EA 8 Product Name Datasheet Intel® 80C186EA Core Architecture 2.0 Intel® 80C186EA Core Architecture 2.1 Bus Interface Unit The 80C186EA core incorporates a bus controller that generates local bus control signals. In addition, it employs a HOLD/HLDA protocol to share the local bus with other bus masters. The bus controller is responsible for generating 20 bits of address, read and write strobes, bus cycle status information and data (for write operations) information. It is also responsible for reading data off the local bus during a read operation. SRDY and ARDY input pins are provided to extend a bus cycle beyond the minimum four states (clocks). The local bus controller also generates a control signal (DEN) when interfacing to external transceiver chips. This capability allows the addition of transceivers for simple buffering of the multiplexed address/data bus. 2.2 Clock Generator The processor provides an on-chip clock generator for both internal and external clock generation. The clock generator features a crystal oscillator, a divideby- two counter, and two low-power operating modes. The oscillator circuit is designed to be used with either a parallel resonant fundamental or thirdovertone mode crystal network. Alternatively, the oscillator circuit may be driven from an external clock source. Figure 2 shows the various operating modes of the oscillator circuit. The crystal or clock frequency chosen must be twice the required processor operating frequency due to the internal divide-by-two counter. This counter is used to drive all internal phase clocks and the external CLKOUT signal. CLKOUT is a 50% duty cycle processor clock and can be used to drive other system components. All AC timings are referenced to CLKOUT. The following parameters are recommended when choosing a crystal: Temperature Range: Application Specific ESR (Equivalent Series Resistance): 60 Ω max C0 (Shunt Capacitance of Crystal): 7 pF max CL (Load Capacitance): 20 pF ± 2 pF Drive Level: 2 mW maximum Product Name Datasheet 9 Intel® 80C186EA Core Architecture Figure 2. Clock Configurations 272432 ±3 (A) Crystal Connection 272432 ±4 (B) Clock Connection Note: The L1C1 network is only required when using a third-overtone crystal. 10 Product Name Datasheet Intel® 80C186EA Peripheral Architecture 3.0 Intel® 80C186EA Peripheral Architecture The 80C186EA has integrated several common system peripherals with a CPU core to create a compact, yet powerful system. The integrated peripherals are designed to be flexible and provide logical interconnections between supporting units (e.g., the interrupt control unit supports interrupt requests from the timer/counters or DMA channels). The list of integrated peripherals include: • • • • • • 4-Input Interrupt Control Unit 3-Channel Timer/Counter Unit 2-Channel DMA Unit 13-Output Chip-Select Unit Refresh Control Unit Power Management Logic The registers associated with each integrated peripheral are contained within a 128 x 16 register file called the Peripheral Control Block (PCB). The PCB can be located in either memory or I/O space on any 256 byte address boundary. Table 1 provides a list of the registers associated with the PCB when the processor's Interrupt Control Unit is in Master Mode. In Slave Mode, the definitions of some registers change. Table 2 provides register definitions specific to Slave Mode. 3.1 Interrupt Control Unit The 80C186EA can receive interrupts from a number of sources, both internal and external. The Interrupt Control Unit (ICU) serves to merge these requests on a priority basis, for individual service by the CPU. Each interrupt source can be independently masked by the Interrupt Control Unit or all interrupts can be globally masked by the CPU. Internal interrupt sources include the Timers and DMA channels. External interrupt sources come from the four input pins INT3:0. The NMI interrupt pin is not controlled by the ICU and is passed directly to the CPU. Although the timers only have one request input to the ICU, separate vector types are generated to service individual interrupts within the Timer Unit. 3.2 Timer/Counter Unit The 80C186EA Timer/Counter Unit (TCU) provides three 16-bit programmable timers. Two of these are highly flexible and are connected to external pins for control or clocking. A third timer is not connected to any external pins and can only be clocked internally. However, it can be used to clock the other two timer channels. The TCU can be used to count external events, time external events, generate non-repetitive waveforms, generate timed interrupts, etc. Product Name Datasheet 11 Intel® 80C186EA Peripheral Architecture Table 1. Peripheral Control Block Registers PCB Offset Function PCB Offset Function PCB Offset Function PCB Offset Function 00H Reserved 40H Reserved 80H Reserved C0H DMA0 Src. Lo 02H Reserved 42H Reserved 82H Reserved C2H DMA0 Src. Hi 04H Reserved 44H Reserved 84H Reserved C4H DMA0 Dest. Lo 06H Reserved 46H Reserved 86H Reserved C6H 08H Reserved 48H Reserved 88H Reserved C8H DMA0 Count 0AH Reserved 4AH Reserved 8AH Reserved CAH DMA0 Control OCH Reserved 4CH Reserved 8CH Reserved CCH Reserved 0EH Reserved 4EH Reserved 8EH Reserved CEH Reserved 10H Reserved 50H Timer 0 Count 90H Reserved D0H DMA1 Src. Lo 12H Reserved 52H Timer 0 Compare A 92H Reserved D2H DMA1 Src. Hi 14H Reserved 54H Timer 0 Compare B 94H Reserved D4H DMA1 Dest. Lo 16H Reserved 56H Timer 0 Control 96H Reserved D6H DMA1 Dest. Hi 18H Reserved 58H Timer 1 Count 98H Reserved D8H DMA1 Count 1AH Reserved 5AH Timer 1 Compare A 9AH Reserved DAH DMA1 Control 1CH Reserved 5CH Timer 1 Compare B 9CH Reserved DCH Reserved 1EH Reserved 5EH Timer 1 Control 9EH Reserved DEH Reserved 20H Reserved 60H Timer 2 Count A0H UMCS E0H Refresh Base 22H End of Interrupt 62H Timer 2 Compare A2H LMCS E2H Refresh Time 24H Poll 64H Reserved A4H PACS E4H Refresh Control 26H Poll Status 66H Timer 2 Control A6H MMCS E6H Reserved 28H Interrupt Mask 68H Reserved A8H MPCS E8H Reserved 2AH Priority Mask 6AH Reserved AAH Reserved EAH Reserved 2CH In-Service 6CH Reserved ACH Reserved ECH Reserved 2EH Interrupt Request 6EH Reserved AEH Reserved EEH Reserved 30H Interrupt Status 70H Reserved B0H Reserved F0H Power-Save 32H Timer Control 72H Reserved B2H Reserved F2H Power Control 34H DMA0 Int. Control 74H Reserved B4H Reserved F4H Reserved 36H DMA0 Int. Control 76H Reserved B6H Reserved F6H Step ID 38H INT0 Control 78H Reserved B8H Reserved F8H Reserved 3AH INT1 Control 7AH Reserved BAH Reserved FAH Reserved 3CH INT2 Control 7CH Reserved BCH Reserved FCH Reserved 3EH INT3 Control 7EH Reserved BEH Reserved FEH Relocation 12 Product Name Datasheet Intel® 80C186EA Peripheral Architecture Table 2. Intel® 80C186EA Slave Mode Peripheral Control Block Registers Product Name Datasheet PCB Offset Function 20H Interrupt Vector 22H Specific EOI 24H Reserved 26H Reserved 28H Interrupt Mask 2AH Priority Mask 2C In-Service 2E Interrupt Request 30 Interrupt Status 32 TMR0 Interrupt Control 34 DMA0 Interrupt Control 36 DMA1 Interrupt Control 38 TMR1 Interrupt Control 3A TMR2 Interrupt Control 3C Reserved 3E Reserved 13 Intel® 80C186EA Peripheral Architecture 3.3 DMA Control Unit The 80C186EA DMA Control Unit provides two independent high-speed DMA channels. Data transfers can occur between memory and I/O space in any combination: memory to memory, memory to I/O, I/O to I/O or I/O to memory. Data can be transferred either in bytes or words. Transfers may proceed to or from either even or odd addresses, but even-aligned word transfers proceed at a faster rate. Each data transfer consumes two bus cycles (a minimum of eight clocks), one cycle to fetch data and the other to store data. The chip-select/ready logic may be programmed to point to the memory or I/O space subject to DMA transfers in order to provide hardware chip select lines. DMA cycles run at higher priority than general processor execution cycles. 3.4 Chip-Select Unit The 80C186EA Chip-Select Unit integrates logic which provides up to 13 programmable chipselects to access both memories and peripherals. In addition, each chip-select can be programmed to automatically terminate a bus cycle independent of the condition of the SRDY and ARDY input pins. The chip-select lines are available for all memory and I/O bus cycles, whether they are generated by the CPU, the DMA unit, or the Refresh Control Unit. 3.5 Refresh Control Unit The Refresh Control Unit (RCU) automatically generates a periodic memory read bus cycle to keep dynamic or pseudo-static memory refreshed. A 9-bit counter controls the number of clocks between refresh requests. A 9-bit address generator is maintained by the RCU with the address presented on the A9:1 address lines during the refresh bus cycle. Address bits A19:13 are programmable to allow the refresh address block to be located on any 8 Kbyte boundary. 3.6 Power Management The 80C186EA has three operational modes to control the power consumption of the device. They are Power Save Mode, Idle Mode, and Powerdown Mode. Power Save Mode divides the processor clock by a programmable value to take advantage of the fact that current is linearly proportional to frequency. An unmasked interrupt, NMI, or reset will cause the 80C186EA to exit Power Save Mode. Idle Mode freezes the clocks of the Execution Unit and the Bus Interface Unit at a logic zero state while all peripherals operate normally. Powerdown Mode freezes all internal clocks at a logic zero level and disables the crystal oscillator. All internal registers hold their values provided VCC is maintained. Current consumption is reduced to transistor leakage only. 14 Product Name Datasheet Intel® 80C186EA Peripheral Architecture 3.7 80C187 Interface (80C186EA Only) The 80C187 Numerics Coprocessor may be used to extend the 80C186EA instruction set to include floating point and advanced integer instructions. Connecting the 80C186EA RESOUT and TEST/ BUSY pins to the 80C187 enables Numerics Mode operation. In Numerics Mode, three of the four Mid- Range Chip Select (MCS) pins become handshaking pins for the interface. The exchange of data and control information proceeds through four dedicated I/O ports. If an 80C187 is not present, the 80C186EA configures itself for regular operation at reset. Note: 3.8 The 80C187 is not specified for 3V operation and therefore does not interface directly to the 80L186EA. ONCE Test Mode To facilitate testing and inspection of devices when fixed into a target system, the 80C186EA has a test mode available which forces all output and input/ output pins to be placed in the highimpedance state. ONCE stands for “ON Circuit Emulation.” The ONCE mode is selected by forcing the UCS and LCS pins LOW (0) during a processor reset (these pins are weakly held to a HIGH (1) level) while RESIN is active. Product Name Datasheet 15 Intel® 80C186XL and Intel® 80C186EA Differences 4.0 Intel® 80C186XL and Intel® 80C186EA Differences The 80C186EA is intended as a direct functional upgrade for 80C186XL designs. In many cases, it will be possible to replace an existing 80C186XL with little or no hardware redesign. The following sections describe differences in pinout, operating modes, and AC and DC specifications to keep in mind. 4.1 Pinout Compatibility The 80C186EA requires a PDTMR pin to time the processor's exit from Powerdown Mode. The original pin arrangement for the 80C186XL in the PLCC package did not have any spare leads to use for PDTMR. The arrangement of all the other leads in the 68-lead PLCC is identical between the 80C186XL and the 80C186EA. Therefore, upgrading a PLCC 80C186XL to PLCC 80C186EA is straightforward. 4.2 Operating Modes The 80C186XL has two operating modes, Compatible and Enhanced. Compatible Mode is a pinto-pin replacement for the NMOS 80186, except for numerics coprocessing. In Enhanced Mode, the processor has a Refresh Control Unit, the Power-Save feature and an interface to the 80C187 Numerics Coprocessor. The MCS0, MCS1, and MCS3 pins change their functions to constitute handshaking pins for the 80C187. The 80C186EA allows all non-80C187 users to use all the MCS pins for chip-selects. In regular operation, all 80C186EA features (including those of the Enhanced Mode 80C186) are present except for the interface to the 80C187. Numerics Mode disables the three chip-select pins and reconfigures them for connection to the 80C187. 4.3 TTL vs. CMOS Inputs The inputs of the 80C186EA are rated for CMOS switching levels for improved noise immunity, but the 80C186XL inputs are rated for TTL switching levels. In particular, the 80C186EA requires a minimum V IH of 3.5V to recognize a logic one while the 80C186XL requires a minimum V IH of only 1.9V (assuming 5.0V operation). The solution is to drive the 80C186EA with true CMOS devices, such as those from the HC and AC logic families, or to use pull-up resistors where the added current draw is not a problem. 4.4 Timing Specifications 80C186EA timing relationships are expressed in a simplified format over the 80C186XL. The AC performance of an 80C186EA at a specified frequency will be very close to that of an 80C186XL at the same frequency. Check the timings applicable to your design prior to replacing the 80C186XL. 16 Product Name Datasheet Intel® 80C186XL and Intel® 80C186EA Differences 4.5 Package Information This section describes the pins, pinouts, and thermal characteristics for the 80C186EA in the Plastic Leaded Chip Carrier (PLCC) package. For complete package specifications and information, see the Intel® Packaging Outlines and Dimensions Guide (Order Number: 231369). With the extended temperature range operational characteristics are guaranteed over a temperature range corresponding to -40 °C to +85 °C ambient. Package types are identified by a two-letter prefix to the part number. The prefixes are listed in Table 3. Table 3. Prefix Identification Prefix TN Note Package Type Temperature Range PLCC Extended NOTE: 1. The 25 MHz version is only available in commercial temperature range corresponding to 0 °C to +70 °C ambient. 4.6 Pin Descriptions Each pin or logical set of pins is described in Table 5. There are three columns for each entry in the Pin Description Table. The Pin Name column contains a mnemonic that describes the pin function. Negation of the signal name (for example, RESIN) denotes a signal that is active low. The Pin Type column contains two kinds of information. The first symbol indicates whether a pin is power (P), ground (G), input only (I), output only (O) or input/output (I/O). Some pins have multiplexed functions (for example, A19/S6). Additional symbols indicate additional characteristics for each pin. Table 5 lists all the possible symbols for this column. The Input Type column indicates the type of input (asynchronous or synchronous). Asynchronous pins require that setup and hold times be met only in order to guarantee recognition at a particular clock edge. Synchronous pins require that setup and hold times be met to guarantee proper operation. For example, missing the setup or hold time for the SRDY pin (a synchronous input) will result in a system failure or lockup. Input pins may also be edge- or level-sensitive. The possible characteristics for input pins are S(E), S(L), A(E) and A(L). The Output States column indicates the output state as a function of the device operating mode. Output states are dependent upon the current activity of the processor. There are four operational states that are different from regular operation: bus hold, reset, Idle Mode and Powerdown Mode. Appropriate characteristics for these states are also indicated in this column, with the legend for all possible characteristics in Table 4. The Pin Description column contains a text description of each pin. As an example, consider AD15:0. I/O signifies the pins are bidirectional. S(L) signifies that the input function is synchronous and level-sensitive. H(Z) signifies that, as outputs, the pins are highimpedance upon acknowledgement of bus hold. R(Z) signifies that the pins float during reset. P(X) signifies that the pins retain their states during Powerdown Mode. Product Name Datasheet 17 Intel® 80C186XL and Intel® 80C186EA Differences Table 4. Pin Description Nomenclature Symbol P G I O I/O Power Pin (Apply +VCC Voltage) Ground (Connect to VSS) Input Only Pin Output Only Pin Input/Output Pin S(E) S(L) A(E) A(L) Synchronous, Edge Sensitive Synchronous, Level Sensitive Asynchronous, Edge Sensitive Asynchronous, Level Sensitive H(1) H(0) H(Z) H(Q) H(X) Output Driven to VCC during Bus Hold Output Driven to VSS during Bus Hold Output Floats during Bus Hold Output Remains Active during Bus Hold Output Retains Current State during Bus Hold R(WH) R(1) R(0) R(Z) R(Q) R(X) 18 Description Output Weakly Held at VCC during Reset Output Driven to VCC during Reset Output Driven to VSS during Reset Output Floats during Reset Output Remains Active during Reset Output Retains Current State during Reset I(1) I(0) I(Z) I(Q) I(X) Output Driven to VCC during Idle Mode Output Driven to VSS during Idle Mode Output Floats during Idle Mode Output Remains Active during Idle Mode Output Retains Current State during Idle Mode P(1) P(0) P(Z) P(Q) P(X) Output Driven to VCC during Powerdown Mode Output Driven to VSS during Powerdown Mode Output Floats during Powerdown Mode Output Remains Active during Powerdown Mode Output Retains Current State during Powerdown Mode Product Name Datasheet Intel® 80C186XL and Intel® 80C186EA Differences Table 5. Pin Descriptions (Sheet 1 of 3) Pin Name Pin Type Input Type Output States Description VCC P POWER connections consist of six pins which must be shorted externally to a VCC board plane. VSS G GROUND connections consist of five pins which must be shorted externally to a VSS board plane. CLKIN I OSCOUT O H(Q) R(Q) P(Q) OSCillator OUTput is only used when using a crystal to generate the external clock. OSCOUT (along with CLKIN) are the crystal R(Q) connections to an internal Pierce oscillator. This pin is not to be P(Q) used as 2X clock output for non-crystal applications (i.e., this pin is N.C. for non-crystal applications). OSCOUT does not float in ONCE mode. CLKOUT O H(Q) R(Q) P(Q) CLocK OUTput provides a timing reference for inputs and outputs of the processor, and is one-half the input clock (CLKIN) frequency. CLKOUT has a 50% duty cycle and transitions every falling edge of CLKIN. RESIN I RESOUT O PDTMR I/O A(L) NMI I A(E) Non-Maskable Interrupt input causes a Type 2 interrupt to be serviced by the CPU. NMI is latched internally. TEST/BUSY (TEST) I A(E) TEST/BUSY is sampled upon reset to determine whether the 80C186EA is to enter Numerics Mode. In regular operation, the pin is TEST. TEST is used during the execution of the WAIT instruction to suspend CPU operation until the pin is sampled active (low). In Numerics Mode, the pin is BUSY. BUSY notifies the 80C186EA of 80C187 Numerics Coprocessor activity. AD15:0 (AD7:0) I/O S(L) A18:16 A19/S6–A16 (A19–A8) O Product Name Datasheet A(E) CLocK INput is an input for an external clock. An external oscillator operating at two times the required processor operating frequency can be connected to CLKIN. For crystal operation, CLKIN (along with OSCOUT) are the crystal connections to an internal Pierce oscillator. A(L) RESet IN causes the processor to immediately terminate any bus cycle in progress and assume an initialized state. All pins will be driven to a known state, and RESOUT will also be driven active. The rising edge (low-to-high) transition synchronizes CLKOUT with CLKIN before the processor begins fetching opcodes at memory location 0FFFF0H. H(0) R(I) P(O) H(WH) R(Z) P(1) RESet OUTput that indicates the processor is currently in the reset state. RESOUT will remain active as long as RESIN remains active. When tied to the TEST/BUSY pin, RESOUT forces the 80C186EA into Numerics Mode. Power-Down TiMeR pin (normally connected to an external capacitor) that determines the amount of time the processor waits after an exit from power down before resuming normal operation. P(1) The duration of time required will depend on the startup characteristics of the crystal oscillator. H(Z) R(Z) P(X) These pins provide a multiplexed Address and Data bus. During the address phase of the bus cycle, address bits 0 through 15 (0 through 7 on the 8-bit bus versions) are presented on the bus and can be latched using ALE. 8- or 16-bit data information is transferred during the data phase of the bus cycle. H(Z) R(Z) P(X) These pins provide multiplexed Address during the address phase of the bus cycle. Address bits 16 through 19 are presented on these pins and can be latched using ALE. A18:16 are driven to a logic 0 during the data phase of the bus cycle. On the 8-bit bus versions, A15–A8 provide valid address information for the entire bus cycle. Also during the data phase, S6 is driven to a logic 0 to indicate a CPU-initiated bus cycle or logic 1 to indicate a DMA-initiated bus cycle or a refresh cycle. 19 Intel® 80C186XL and Intel® 80C186EA Differences Table 5. Pin Descriptions (Sheet 2 of 3) Pin Name S2:0 Pin Type Input Type O Output States H(Z) R(Z) P(1) Description Bus cycle Status are encoded on these pins to provide bus transaction information. S2:0 are encoded as follows: S2 S1 S0 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 Bus Cycle Initiated Interrupt Acknowledge Read I/O Write I/O Processor HALT Queue Instruction Fetch Read Memory Write Memory Passive (no bus activity) ALE/QS0 O H(0) R(0) P(0) Address Latch Enable output is used to strobe address information into a transparent type latch during the address phase of the bus cycle. In Queue Status Mode, QS0 provides queue status information along with QS1. BHE (RFSH) O H(Z) R(Z) P(X) Byte High Enable output to indicate that the bus cycle in progress is transferring data over the upper half of the data bus. BHE and A0 have the following logical encoding: A0 BHE 0 0 1 1 0 1 0 1 Encoding (For 80C186EA/80L186EA Only) Word Transfer Even Byte Transfer Odd Byte Transfer Refresh Operation On the 80C188EA/80L188EA, RFSH is asserted low to indicate a Refresh bus cycle. RD/QSMD 20 O H(Z) R(WH) P(1) ReaD output signals that the accessed memory or I/O device must drive data information onto the data bus. Upon reset, this pin has an alternate function. As QSMD, it enables Queue Status Mode when grounded. In Queue Status Mode, the ALE/QS0 and WR/QS1 pins provide the following information about processor/instruction queue interaction: QS1 QS0 0 0 1 1 0 1 1 0 Queue Operation No Queue Operation First Opcode Byte Fetched from the Queue Subsequent Byte Fetched from the Queue Empty the Queue WR/QS1 O H(Z) R(Z) P(1) WRite output signals that data available on the data bus are to be written into the accessed memory or I/O device. In Queue Status Mode, QS1 provides queue status information along with QS0. ARDY I A(L) S(L) Asynchronous ReaDY is an input to signal for the end of a bus cycle. ARDY is asynchronous on rising CLKOUT and synchronous on falling CLKOUT. ARDY or SRDY must be active to terminate any processor bus cycle, unless they are ignored due to correct programming of the Chip Select Unit. SRDY I S(L) Synchronous ReaDY is an input to signal for the end of a bus cycle. ARDY or SRDY must be active to terminate any processor bus cycle, unless they are ignored due to correct programming of the Chip Select Unit. DEN O H(Z) R(Z) P(1) Data ENable output to control the enable of bidirectional transceivers when buffering a system. DEN is active only when data is to be transferred on the bus. LOCK O H(Z) R(WH) P(1) LOCK output indicates that the bus cycle in progress is not to be interrupted. The processor will not service other bus requests (such as HOLD) while LOCK is active. This pin is configured as a weakly held high input while RESIN is active and must not be driven low. Product Name Datasheet Intel® 80C186XL and Intel® 80C186EA Differences Table 5. Pin Descriptions (Sheet 3 of 3) Pin Type Input Type HOLD I A(L) HLDA O H(1) R(0) P(0) HoLD Acknowledge output to indicate that the processor has relinquished control of the local bus. When HLDA is asserted, the processor will (or has) floated its data bus and control signals allowing another bus master to drive the signals directly. UCS O H(1) R(1) P(1) Upper Chip Select will go active whenever the address of a memory or I/O bus cycle is within the address limitations programmed by the user. After reset, UCS is configured to be active for memory accesses between 0FFC00H and 0FFFFFH. During a processor reset, UCS and LCS are used to enable ONCE Mode. LCS O H(1) R(1) P(1) Lower Chip Select will go active whenever the address of a memory bus cycle is within the address limitations programmed by the user. R(1) LCS is inactive after a reset. During a processor reset, UCS and LCS are used to enable ONCE Mode. MCS0/PEREQ MCS1/ERROR MCS2 MCS3/NCS I/O H(1) R(1) P(1) These pins provide a multiplexed function. If enabled, these pins normally comprise a block of Mid-Range Chip Select outputs which will go active whenever the address of a memory bus cycle is within the address limitations programmed by the user. In Numerics Mode (80C186EA only), three of the pins become handshaking pins for the 80C187. The CoProcessor REQuest input signals that a data transfer is pending. ERROR is an input which indicates that the previous numerics coprocessor operation resulted in an exception condition. An interrupt Type 16 is generated when ERROR is sampled active at the beginning of a numerics operation. Numerics Coprocessor Select is an output signal generated when the processor accesses the 80C187. PCS4:0 O H(1) R(1) P(1) Peripheral Chip Selects go active whenever the address of a memory or I/O bus cycle is within the address limitations programmed by the user. PCS5/A1 PCS6/A2 O H(1)/ H(X) R(1) P(1) These pins provide a multiplexed function. As additional Peripheral Chip Selects, they go active whenever the address of a memory or I/O bus cycle is within the address limitations by the user. They may also be programmed to provide latched Address A2:1 signals. T0OUT T1OUT O H(Q) R(1) P(Q) Timer OUTput pins can be programmed to provide a single clock or continuous waveform generation, depending on the timer mode selected. A(L) A(E) Timer INput is used either as clock or control signals, depending on the timer mode selected. T1IN A(E) Pin Name T0IN A(L) I Output States Description HOLD request input to signal that an external bus master wishes to gain control of the local bus. The processor will relinquish control of the local bus between instruction boundaries not conditioned by a LOCK prefix. DRQ0 DRQ1 I A(L) DMA ReQuest is asserted by an external request when it is prepared for a DMA transfer. INT0 INT1/SELECT I A(E,L) Maskable INTerrupt input will cause a vector to a specific Type interrupt routine. To allow interrupt expansion, INT0 and/or INT1 can be used with INTA0 and INTA1 to interface with an external slave controller. INT1 becomes SELECT when the ICU is configured for Slave Mode. I/O A(E,L) INT2/INTA0 INT3/INTA1/IRQ N.C. H(1) R(Z) P(1) These pins provide multiplexed functions. As inputs, they provide a maskable INTerrupt that will cause the CPU to vector to a specific Type interrupt routine. As outputs, each is programmatically controlled to provide an INTerrupt Acknowledge handshake signal to allow interrupt expansion. INT3/INTA1 becomes IRQ when the ICU is configured for Slave Mode. No Connect. For compatibility with future products, do not connect to these pins. NOTE: Pin names in parentheses apply to the 80C188EA and 80L188EA. Product Name Datasheet 21 Intel® 80C186EA Pinout 5.0 Intel® 80C186EA Pinout Table 6 and Table 7 list the 80C186EA pin names with package location for the 68-pin Plastic Leaded Chip Carrier (PLCC) component. Figure 3 depicts the complete 80C186EA/80L186EA pinout (PLCC package) as viewed from the top side of the component (i.e., contacts facing down). Table 6. PLCC Pin Names with Package Location Address/Data Bus Name AD0 AD1 AD2 AD3 AD4 AD5 AD6 AD7 AD8 (A8) AD9 (A9) AD10 (A10) AD11 (A11) AD12 (A12) AD13 (A13) AD14 (A14) AD15 (A15) A16 A17 A18 A19/S6 Bus Control Processor Control I/O Location Name Location Name Location Name Location 17 15 13 11 8 6 4 2 16 14 12 10 7 5 3 1 68 67 66 65 ALE/QS0 BHE (RFSH) S0 S1 S2 RD/QSMD WR/QS1 ARDY SRDY DEN LOCK HOLD HLDA 61 64 52 53 54 62 63 55 49 39 48 50 51 RESIN RESOUT CLKIN OSCOUT CLKOUT TEST/BUSY PDTMR NMI INT0 INT1/SELECT INT2/INTA0 INT3/INTA1/ IRQ 24 57 59 58 56 47 40 46 45 44 42 41 UCS LCS MCS0/PEREQ MCS1/ERROR MCS2 MCS3/NCS PCS0 PCS1 PCS2 PCS3 PCS4 PCS5/A1 PCS6/A2 T0OUT T0IN T1OUT T1IN DRQ0 DRQ1 34 33 38 37 36 35 25 27 28 29 30 31 32 22 20 23 21 18 19 Power Name Location V SS VCC 26, 60 9, 43 NOTE: Pin names in parentheses apply to the 80C188EA/80L188EA. Table 7. PLCC Package Location with Pin Names Location 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Name AD15 (A15) AD7 AD14 (A14) AD6 AD13 (A13) AD5 AD12 (A12) AD4 VCC AD11 (A11) AD3 AD10 (A10) AD2 AD9 (A9) AD1 AD8 (A8) AD0 Location 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 Name DRQ0 DRQ1 T0IN T1IN T0OUT T1OUT RESIN PCS0 VSS PCS1 PCS2 PCS3 PCS4 PCS5/A1 PCS6/A2 LCS UCS Location Name Location 35 36 37 38 39 40 41 MCS3/NCS MCS2 MCS1/ERROR MCS0/PEREQ DEN PDTMR INT3/INTA1/ IRQ INT2/INTA0 VCC INT1/SELECT INT0 NMI TEST/BUSY LOCK SRDY HOLD HLDA 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 42 43 44 45 46 47 48 49 50 51 Name S0 S1 S2 ARDY CLKOUT RESOUT OSCOUT CLKIN VSS ALE/QS0 RD/QSMD WR/QS1 BHE RFSH A19/S6 A18 A17 A16 NOTE: Pin names in parentheses apply to the 80C188EA/80L188EA. 22 Product Name Datasheet Intel® 80C186EA Pinout Figure 3. 68-Lead PLCC Pinout Diagram Notes: 1. The nine character alphanumeric code (XXXXXXXXD) underneath the product number is the Intel FPO number. 2. Pin names in parentheses apply to the 80C186EA/80L188EA. Product Name Datasheet 23 Package Thermal Specifications 6.0 Package Thermal Specifications The 80C186EA/80L186EA is specified for operation when TC (the case temperature) is within the range of 0°C to 85°C (PLCC package). TC may be measured in any environment to determine whether the processor is within the specified operating range. The case temperature must be measured at the center of the top surface. TA (the ambient temperature) can be calculated from θCA (thermal resistance from the case to ambient) with the following equation: TA = TC - P × θCA Typical values for θCA at various airflows are given in Table 8. P (the maximum power consumption, specified in watts) is calculated by using the maximum ICC as tabulated in the DC specifications and VCC of 5.5 V. Table 8. Thermal Resistance (θCA) at Various Airflows (in °C/Watt) Airflow Linear ft./min. (m/sec) θCA (PLCC) 24 0 (0) 200 (1.01) 400 (2.03) 600 (3.04) 800 (4.06) 1000 (5.07) 29 25 21 19 17 16.5 Product Name Datasheet Electrical Specification 7.0 Electrical Specification 7.1 Absolute Maximum Ratings* Note: Storage Temperature: -65 °C to + 150 °C Case Temperature under Bias: -65 °C to + 150 °C Supply Voltage with Respect to V SS: -0.5 V to + 6.5 V Voltage on Other Pins with Respect to V SS: -0.5 V to VCC + 0.5 V This data sheet contains preliminary information on new products in production. It is valid for the devices indicated in the revision history. The specifications are subject to change without notice. *Warning: Stressing the device beyond the “Absolute Maximum Ratings” may cause permanent damage. These are stress ratings only. Operation beyond the “Operating Conditions” is not recommended and extended exposure beyond the “Operating Conditions” may affect device reliability. 7.2 Recommended Connections Power and ground connections must be made to multiple VCC and VSS pins. Every 80C186EA based circuit board should contain separate power (VCC) and ground (VSS) planes. All VCC and VSS pins must be connected to the appropriate plane. Pins identified as “N.C.” must not be connected in the system. Decoupling capacitors should be placed near the processor. The value and type of decoupling capacitors is application and board layout dependent. The processor can cause transient power surges when its output buffers transition, particularly when connected to large capacitive loads. Always connect any unused input pins to an appropriate signal level. In particular, unused interrupt pins (NMI, INT3:0) should be connected to VSS to avoid unwanted interrupts. Leave any unused output pin or any “N.C.” pin unconnected. Product Name Datasheet 25 DC Specifications 8.0 DC Specifications Table 9. DC SPECIFICATIONS (80C186EA/80C188EA) ( ) Symbol Parameter VCC Supply Voltage VIL Input Low Voltage for All Pins VIH Input High Voltage for All Pins VOL Output Low Voltage VOH Output High Voltage VHYR Input Hysterisis on RESIN IIL1 Input Leakage Current (except RD-QSMD0 UCS0 LCS0 MCS0-PEREQ0 MCS1-ERROR0 LOCK and TEST-BUSY) IIL2 Input Leakage Current (RD-QSMD0 UCS0 LCS0 MCS0-PEREQ0 MCS10 ERROR0 LOCK and TEST-BUSY IOL Output Leakage Current ICC IID IPD Min Max Units 45 55 V b 05 03 VCC V 07 VCC VCC a 05 V 045 V IOL e 3 mA (min) VCC b 05 V IOH e b 2 mA (min) 030 V g 10 b 275 Conditions mA 0V s VIN s VCC mA VIN e 07 VCC (Note 1) 045 s VOUT s VCC (Note 2) g 10 mA Supply Current Cold (RESET) 80C186EA25-80C188EA25 80C186EA20-80C188EA20 80C186EA13-80C188EA13 105 90 65 mA mA mA (Notes 30 5) Supply Current In Idle Mode 80C186EA25-80C188EA25 80C186EA20-80C188EA20 80C186EA13-80C188EA13 90 70 46 mA mA mA (Note 5) Supply Current In Powerdown Mode 80C186EA25-80C188EA25 80C186EA20-80C188EA20 80C186EA13-80C188EA13 100 100 100 mA mA mA (Note 5) COUT Output Pin Capacitance 0 15 pF TF e 1 MHz (Note 4) CIN Input Pin Capacitance 0 15 pF TF e 1 MHz NOTES: 1.RD/QSMD, UCS, LCS, MCS0/PEREQ, MCS1/ERROR, LOCK and TEST/BUSY have internal pull-ups that are only activated during RESET. Loading these pins above IOL = -275 µA will cause the processor to enter alternate modes of operation. 2.Output pins are floated using HOLD or ONCE Mode. 3.Measured at worst case temperature and VCC with all outputs loaded as specified in the AC Test Conditions, and with the device in RESET (RESIN held low). RESET is worst case for ICC. 4.Output capacitance is the capacitive load of a floating output pin. 5.Operating conditions for 25 MHz are 0°C to +70°C, VCC = 5.0V ±10%. 26 Product Name Datasheet DC Specifications Table 10. DC SPECIFICATIONS (80L186EA/80L188EA) NOTES: 1.RD/QSMD, UCS, LCS, MCS0, MCS1, LOCK and TEST have internal pull-ups that are only activated during RESET. Loading these pins above IOL = -275 µA will cause the processor to enter alternate modes of operation. 2.Output pins are floated using HOLD or ONCE Mode. 3.Measured at worst case temperature and VCC with all outputs loaded as specified in the AC Test Conditions, and with the device in RESET (RESIN held low). 4.Output capacitance is the capacitive load of a floating output pin. Product Name Datasheet 27 DC Specifications 8.1 ICC Versus Frequency and Voltage The current (ICC) consumption of the processor is essentially composed of two components; IPD and ICCS. IPD is the quiescent current that represents internal device leakage, and is measured with all inputs or floating outputs at GND or VCC (no clock applied to the device). IPD is equal to the Powerdown current and is typically less than 50 µA. ICCS is the switching current used to charge and discharge parasitic device capacitance when changing logic levels. Since ICCS is typically much greater than IPD, IPD can often be ignored when calculating ICC. ICCS is related to the voltage and frequency at which the device is operating. It is given by the formula: Power = V × I = V2 × CDEV × f ∴ I = ICC = ICCS = V × CDEV × f Where: V = Device operating voltage (VCC) CDEV = Device capacitance f = Device operating frequency ICCS = ICC = Device current Measuring CDEV on a device like the 80C186EA would be difficult. Instead, CDEV is calculated using the above formula by measuring ICC at a known VCC and frequency (see Table 11). Using this CDEV value, ICC can be calculated at any voltage and frequency within the specified operating range. EXAMPLE: Calculate the typical ICC when operating at 20 MHz, 4.8V. ICC = ICCS = 4.8 × 0.515 × 20 ≈ 49 mA Table 11. CDEV Values Parameter Type Max Units Notes C DEV (Device in Reset) 0.515 0.905 mA/V*MHz 1,2 C DEV (Device in Idle) 0.391 0.635 mA/V*MHz 1,2 1. Max C DEV is calculated at -40 °C, all floating outputs driven to VCC or GND, and all outputs loaded to 50 pF (including CLKOUT and OSCOUT). 2. Typical CDEV is calculated at 25°C with all outputs loaded to 50 pF except CLKOUT and OSCOUT, which are not loaded. 28 Product Name Datasheet DC Specifications 8.2 PDTMR Pin Delay Calculation The PDTMR pin provides a delay between the assertion of NMI and the enabling of the internal clocks when exiting Powerdown. A delay is required only when using the on-chip oscillator to allow the crystal or resonator circuit time to stabilize. Note: The PDTMR pin function does not apply when RESIN is asserted (i.e., a device reset during Powerdown is similar to a cold reset and RESIN must remain active until after the oscillator has stabilized). To calculate the value of capacitor required to provide a desired delay, use the equation: 440 × t = CPD (5V, 25 °C) Where: t = desired delay in seconds CPD = capacitive load on PDTMR in microfarads Example 1. Note: To get a delay of 300 µs, a capacitor value of CPD = 440 × (300 × 10-6) = 0.132 µF is required. Round up to standard (available) capacitive values. The above equation applies to delay times greater than 10 µs and will compute the TYPICAL capacitance needed to achieve the desired delay. A delay variance of +50% or -25% can occur due to temperature, voltage, and device process extremes. In general, higher V CC and/or lower temperature will decrease delay time, while lower VCC and/or higher temperature will increase delay time. Product Name Datasheet 29 AC Specifications 9.0 AC Specifications Table 12. AC Characteristics—80C186EA25/80C186EA20/80C186EA13 (Sheet 1 of 2) Symbol Parameter Min TF TC TCH TCL TCR TCF Max 25 MHz(12) INPUT CLOCK CLKIN Frequency CLKIN Period CLKIN High Time CLKIN Low Time CLKIN Rise Time CLKIN Fall Time Min Max 20 MHz Min Max Units Notes 13 MHz 0 20 10 10 1 1 50 % % % 8 8 0 25 10 10 1 1 40 % % % 8 8 0 385 12 12 1 1 26 % % % 8 8 MHz ns ns ns ns ns 1 1 10 2 10 2 10 3 10 3 0 15 2TC 0 17 2TC 0 23 2TC 6 6 ns ns ns ns ns ns 10 4 1 1 1 10 5 10 5 OUTPUT CLOCK TCD T TPH TPL TPR TPF CLKIN to CLKOUT Delay CLKOUT Period CLKOUT High Time CLKOUT Low Time CLKOUT Rise Time CLKOUT Fall Time (T-2) b 5 (T-2) b 5 1 1 6 6 (T-2) b 5 (T-2) b 5 1 1 6 6 (T-2) b 5 (T-2) b 5 1 1 OUTPUT DELAYS 30 TCHOV1 ALE0 S2@00 DEN 0 BHE0 (RFSH)0 LOCK0 A19@16 3 20 3 22 3 25 ns 10 40 60 7 TCHOV2 MCS3@00 LCS0 UCS0 PCS6@00 NCS0 RD0 WR 3 25 3 27 3 30 ns 10 40 60 8 TCLOV1 BHE (RFSH)0 DEN0 LOCK0 RESOUT0 HLDA0 T0OUT0 T1OUT0 A19@16 3 20 3 22 3 25 ns 10 40 6 TCLOV2 RD0 WR0 MCS3@00 LCS0 UCS0 PCS6@00 AD15@0 (A15@80 AD7@0)0 NCS0 INTA1@00 S2@0 3 25 3 27 3 30 ns 10 40 6 0 25 0 25 0 25 ns 1 0 25 0 25 0 25 ns 1 TCHOF RD0 WR0 BHE (RFSH)0 LOCK0 S2@00 A19@16 TCLOF DEN0 AD15@0 (A15@80 AD7@0) 0 Product Name Datasheet AC Specifications Table 12. AC Characteristics—80C186EA25/80C186EA20/80C186EA13 (Sheet 2 of 2) Symbol Parameter SYNCHRONOUS INPUTS Min Max 25 MHz(12) Min Max 20 MHz Min Max Units Notes 13 MHz TCHIS TEST0 NMI0 INT3@00 T1@0IN0 ARDY 8 10 10 ns 10 9 TCHIH TEST0 NMI0 INT3@00 T1@0IN0 ARDY 3 3 3 ns 10 9 TCLIS AD15@0 (AD7@0)0 ARDY0 SRDY0 DRQ1@0 10 10 10 ns 10 10 TCLIH AD15@0 (AD7@0)0 ARDY0 SRDY0 DRQ1@0 3 3 3 ns 10 10 TCLIS HOLD0 PEREQ0 ERROR (80C186EA Only) 10 10 10 ns 10 9 TCLIH HOLD0 PEREQ0 ERROR (80C186EA Only) 3 3 3 ns 10 9 TCLIS RESIN (to CLKIN) 10 10 10 ns 10 9 TCLIH RESIN (from CLKIN) 3 3 3 ns 10 9 NOTES: 1.See AC Timing Waveforms, for waveforms and definition. 2.Measured at VIH for high time, VIL for low time. 3.Only required to guarantee ICC. Maximum limits are bounded by TC, TCH and TCL. 4.Specified for a 50 pF load, see Figure 9 for capacitive derating information. 5.Specified for a 50 pF load, see Figure 10 for rise and fall times outside 50 pF. 6.See Figure 10 for rise and fall times. 7.TCHOV1 applies to BHE (RFSH), LOCK and A19:16 only after a HOLD release. 8.TCHOV2 applies to RD and WR only after a HOLD release. 9.Setup and Hold are required to guarantee recognition. 10.Setup and Hold are required for proper operation. 11.TCHOVS applies to BHE (RFSH) and A19:16 only after a HOLD release. 12.Operating conditions for 25 MHz are 0°C to +70°C, VCC = 5.0V ±10%. 13.Pin names in parentheses apply to the 80C188EA/80L188EA. Product Name Datasheet 31 AC Specifications Table 13. AC Characteristics—80L186EA13/80C186EA8 Symbol Parameter Min. Max. Units Notes INPUT CLOCK TF CLKIN Frequency TC CLKIN Period 0 26 MHz 1 38.5 ∞ ns 1 TCH TCL CLKIN High Time 12 ∞ ns 1,2 CLKIN Low Time 12 ∞ ns 1,2 TCR CLKIN Rise Time 1 8 ns 1,3 TCF CLKIN Fall Time 1 8 ns 1,3 45 ns 1,4 2*TC ns 1 1 OUTPUT CLOCK TCD CLKIN to CLKOUT Delay T CLKOUT Period 0 TPH CLKOUT High Time (T/2) – 5 ns TPL CLKOUT Low Time (T/2) – 5 ns 1 TPR CLKOUT Rise Time 1 12 ns 1,5 TPF CLKOUT Fall Time 1 12 ns 1,5 OUTPUT DELAYS TCHOV1 ALE, LOCK 3 27 ns 1,4,6,7 TCHOV2 MCS3:0, LCS, UCS, PCS6:0, RD, WR 3 32 ns 1,4,6,8 TCHOV3 S2:0, (DEN), BHE, (RFSH), A19:16 3 30 ns 1 TCLOV1 LOCK, RESOUT, HLDA, T0OUT, T1OUT 3 27 ns 1, 4, 6 TCLOV2 RD, WR, MCS3:0, LCS, UCS, PCS6:0, INTA1:0 3 32 ns 1, 4, 6 TCLOV3 BHE, (RFSH), DEN, A19:16 3 30 ns 1, 4, 6 TCLOV4 AD15:0, (A15:8, AD7:0) 3 3 ns 1, 4, 6 TCLOV5 S2:0 3 38 ns 1, 4, 6 TCHOF RD, WR, BHE, (RFSH), LOCK, S2:0, A19:16 0 27 ns 1 TCLOF DEN, AD15:0, (A15:8, AD7:0) 0 27 ns 1 SYNCHRONOUS INPUTS TCHIS TEST, NMI, INT3:0, T1:0IN, ARDY 22 ns 1, 9 TCHIH TEST, NMI, INT3:0, T1:0IN, ARDY 3 ns 1, 9 TCLIS AD15:0, (AD7:0), ARDY, SRDY, DRQ1:0 22 ns 1, 10 TCLIH AD15:0, (AD7:0), ARDY, SRDY, DRQ1:0 3 ns 1, 10 TCLIS HOLD 22 ns 1, 9 TCLIH HOLD 3 ns 1, 9 TCLIS RESIN (to CLKIN) 22 ns 1, 9 TCLIH RESIN (from CLKIN) 3 ns 1, 9 NOTES: 1. See AC Timing Waveforms, for waveforms and definition. 2. Measured at VIH for high time, VIL for low time. 3. Only required to guarantee ICC . Maximum limits are bounded by TC, TCH and TCL. 4. Specified for a 50 pF load, see Figure 9 for capacitive derating information. 5. Specified for a 50 pF load, see Figure 10 for rise and fall times outside 50 pF. 6. See Figure 10 for rise and fall times. 7. TCHOV1 applies to BHE (RFSH), LOCK and A19:16 only after a HOLD release. 8. TCHOV2 applies to RD and WR only after a HOLD release. 9. Setup and Hold are required to guarantee recognition. 10.Setup and Hold are required for proper operation. 11.TCHOVS applies to BHE (RFSH) and A19:16 only after a HOLD release. 12.Pin names in parentheses apply to the 80C188EA/80L188EA. 32 Product Name Datasheet AC Specifications Table 14. Relative Timings (80C186EA25/20/13, 80L186EA13) Symbol Parameter Min Max Unit Notes RELATIVE TIMINGS T b 15 ns Address Valid to ALE Falling T b 10 ns TPLLL Chip Selects Valid to ALE Falling T b 10 ns TLLAX Address Hold from ALE Falling T b 10 ns TLLWL ALE Falling to WR Falling T b 15 ns 1 TLLRL ALE Falling to RD Falling T b 15 ns 1 TRHLH RD Rising to ALE Rising T b 10 ns 1 TWHLH WR Rising to ALE Rising T b 10 ns 1 TAFRL Address Float to RD Falling 0 ns TRLRH RD Falling to RD Rising (2T) b 5 ns 2 TWLWH WR Falling to WR Rising (2T) b 5 ns 2 TRHAV RD Rising to Address Active T b 15 ns TWHDX Output Data Hold after WR Rising T b 15 ns TWHDEX WR Rising to DEN Rising T b 10 ns 1 TWHPH WR Rising to Chip Select Rising T b 10 ns 10 4 TRHPH RD Rising to Chip Select Rising T b 10 ns 10 4 TPHPL CS Inactive to CS Active T b 10 ns 1 TOVRH ONCE (UCS0 LCS) Active to RESIN Rising T ns 3 TRHOX ONCE (UCS0 LCS) to RESIN Rising T ns 3 TLHLL ALE Rising to ALE Falling TAVLL 1 NOTES: 1. Assumes equal loading on both pins. 2. Can be extended using wait states. 3. Not tested. 4. Not applicable to latched A2:1. These signals change only on falling T1. 5. For write cycle followed by read cycle. 6. Operating conditions for 25 MHz are 0°C to +70°C, VCC = 5.0V ±10%. Product Name Datasheet 33 AC Test Conditions 10.0 AC Test Conditions The AC specifications are tested with the 50 pF load shown in Figure 4. See the Derating Curves section to see how timings vary with load capacitance. Specifications are measured at the VCC/2 crossing point, unless otherwise specified. See AC Timing Waveforms, for AC specification definitions, test pins, and illustrations. Figure 4. AC Test Load Note: CL = 50 pF for all signals. 34 Product Name Datasheet AC Timing Waveforms 11.0 AC Timing Waveforms Figure 5. Input and Output Clock Waveform Figure 6. Output Delay and Float Waveform Note: 20% VCCk Float k 80% VCC Product Name Datasheet 35 AC Timing Waveforms Figure 7. Input Setup and Hold Note: RESIN measured to CLKIN, not CLKOUT 36 Product Name Datasheet AC Timing Waveforms Figure 8. Relative Signal Waveform CLKOUT TLHLL VCC ALE 50% 50% OV TAVLL 50% TLLAX TWHLH VCC ADD:15 [AD0:7] A19:16 [A19:8] OV TAFRL TLLWL TLLRL VCC TRHLH 50% 50% 50% TWHDX TRHAV TRLRH TWLWH RD# or WR# 50% 50% OV TPHPL TPLLL TRHPH TWHPH VCC MCS3:0#, LCS#, UCS#, PCS6:0# 50% 50% 50% OV TWHDEX VCC DEN# 50% 50% OV RESIN# 50% OV TOVRH UCS#, LCS# 50% TRHOX 50% Notes: Pin names in parentheses apply to the 80C188EA Product Name Datasheet 37 Derating Curves 12.0 Derating Curves Figure 9. Typical Output Delay Variations Versus Load Capacitance Figure 10. Typical Rise and Fall Variations Versus Load Capacitance 38 Product Name Datasheet Reset 13.0 Reset The processor performs a reset operation any time the RESIN pin is active. The RESIN pin is actually synchronized before it is presented internally, which means that the clock must be operating before a reset can take effect. From a power-on state, RESIN must be held active (low) in order to guarantee correct initialization of the processor. Failure to provide RESIN while the device is powering up will result in unspecified operation of the device. Figure 11 shows the correct reset sequence when first applying power to the processor. An external clock connected to CLKIN must not exceed the VCC threshold being applied to the processor. This is normally not a problem if the clock driver is supplied with the same VCC that supplies the processor. When attaching a crystal to the device, RESIN must remain active until both V CC and CLKOUT are stable (the length of time is application specific and depends on the startup characteristics of the crystal circuit). The RESIN pin is designed to operate correctly using an RC reset circuit, but the designer must ensure that the ramp time for VCC is not so long that RESIN is never really sampled at a logic low level when V CC reaches minimum operating conditions. Figure 12 shows the timing sequence when RESIN is applied after VCC is stable and the device has been operating. Note that a reset will terminate all activity and return the processor to a known operating state. Any bus operation that is in progress at the time RESIN is asserted will terminate immediately (note that most control signals will be driven to their inactive state first before floating). While RESIN is active, signals RD/QSMD, UCS, LCS, MCS0/PEREQ, MCS1/ERROR, LOCK, and TEST/BUSY are configured as inputs and weakly held high by internal pull-up transistors. Forcing UCS and LCS low selects ONCE Mode. Forcing QSMD low selects Queue Status Mode. Forcing TEST/ BUSY high at reset and low four clocks later enables Numerics Mode. Forcing LOCK low is prohibited and results in unspecified operation. Product Name Datasheet 39 Reset Figure 11. Powerup Reset Waveforms Notes: 1. CLKOUT synchronization occurs approximately 1½ CLKIN periods after RESIN# is sampled low. 2. Pin names in parentheses apply to the 80C188EA. 40 Product Name Datasheet Reset Figure 12. Warm Reset Waveforms Notes: 1. CLKOUT resynchronization occurs approximately 1½ CLKIN periods after RESIN# is sampled low. If RESIN# is sampled low while transitioning high, then CLKOUT will remain high for two CLKIN periods. If RESIN# is sampled low while CLKOUT is transitioning high, the CLKOUT will not be affected. 2. Pin names in parentheses apply to the 80C188EA. Product Name Datasheet 41 Bus Cycle Waveforms 14.0 Bus Cycle Waveforms Figure 13 through Figure 19 present the various bus cycles that are generated by the processor. What is shown in the figure is the relationship of the various bus signals to CLKOUT. These figures along with the information present in AC Specifications allow the user to determine all the critical timing analysis needed for a given application. Figure 13. Read, Fetch and Refresh Cycle Waveform Notes: 1. During the data phase of the bus cycle, A19/S6 is driven high for a DMA or refresh cycle. 2. Pin names in parentheses apply to the 80C188EA. 42 Product Name Datasheet Bus Cycle Waveforms Figure 14. Write Cycle Waveform Notes: 1. During the data phase of the bus cycle, A19/S6 is driven high for a DMA cycle. 2. Pin names in parentheses apply to the 80C188EA. Product Name Datasheet 43 Bus Cycle Waveforms Figure 15. Halt Cycle Waveform Notes: 1. The processor drives these pins to 0 during Idle and Powerdown Modes. 2. Pin names in parentheses apply to the 80C188EA. 44 Product Name Datasheet Bus Cycle Waveforms Figure 16. INTA Cycle Waveform Notes: 1. INTA# occurs one clock later in Slave Mode. 2. Pin names in parentheses apply to the 80C188EA. Product Name Datasheet 45 Bus Cycle Waveforms Figure 17. HOLD/HLDA Waveform Note: Pin names in parentheses apply to the 80C188EA. 46 Product Name Datasheet Bus Cycle Waveforms Figure 18. DRAM Refresh Cycle During Hold Acknowledge Note: Pin names in parentheses apply to the 80C188EA. Product Name Datasheet 47 Bus Cycle Waveforms Figure 19. Ready Waveform Notes: 1. Generalized diagram for READ or WRITE. 2. ARDY low by either edge causes a wait state. Only rising ARDY is fully synchronized. 3. SRDY low causes a wait state. SRDY must meet setup and hold times to ensure correct device operation. 4. Either ARDY or SRDY active high will terminate a bus cycle. 5. Pin names in parentheses apply to the 80C188EA. 48 Product Name Datasheet Product Name Execution Timings 15.0 Product Name Execution Timings A determination of program execution timing must consider the bus cycles necessary to prefetch instructions as well as the number of execution unit cycles necessary to execute instructions. The following instruction timings represent the minimum execution time in clock cycle for each instruction. The timings given are based on the following assumptions: • The opcode, along with any data or displacement required for execution of a particular instruction, has been prefetched and resides in the queue at the time it is needed. • No wait states or bus HOLDs occur. • All word-data is located on even-address boundaries. (80C186EA only) All jumps and calls include the time required to fetch the opcode of the next instruction at the destination address. All instructions which involve memory accesses can require one or two additional clocks above the minimum timings shown due to the asynchronous handshake between the bus interface unit (BIU) and execution unit. With a 16-bit BIU, the 80C186EA has sufficient bus performance to endure that an adequate number of prefetched bytes will reside in the queue (6 bytes) most of the time. Therefore, actual program execution time will not be substantially greater than that derived from adding the instruction timings shown. The 80C188EA 8-bit BIU is limited in its performance relative to the execution unit. A sufficient number of prefetched bytes may not reside in the prefetch queue (4 bytes) much of the time. Therefore, actual program execution time will be substantially greater than that derived from adding the instruction timings shown. Product Name Datasheet 49 Product Name Execution Timings Figure 20. Instruction Set Summary Function Format 80C186EA Clock Cycles 80C188EA Clock Cycles 2-12 2-12 Comments DATA TRANSFER MOV e Move% Register to Register-Memory 1000100w mod reg r-m Register-memory to register 1000101w mod reg r-m Immediate to register-memory 1100011w mod 000 r-m data data if w e 1 2-9 2-9 12–13 12–13 8-16-bit 8-16-bit Immediate to register 1 0 1 1 w reg data data if w e 1 3–4 3–4 Memory to accumulator 1010000w addr-low addr-high 8 8 Accumulator to memory 1010001w addr-low addr-high 9 9 Register-memory to segment register 10001110 mod 0 reg r-m 2-9 2-13 Segment register to register-memory 10001100 mod 0 reg r-m 2-11 2-15 11111111 mod 1 1 0 r-m 16 20 PUSH e Push% Memory Register 0 1 0 1 0 reg 10 14 Segment register 0 0 0 reg 1 1 0 9 13 Immediate 011010s0 10 14 PUSHA e Push All 01100000 36 68 20 24 10 14 8 12 51 83 4-17 4-17 3 3 10 10 8 7 9 9 data data if s e 0 POP e Pop% Memory 10001111 Register 0 1 0 1 1 reg Segment register 0 0 0 reg 1 1 1 POPA e Pop All 01100001 mod 0 0 0 r-m (reg i 01) XCHG e Exchange% Register-memory with register 1000011w Register with accumulator 1 0 0 1 0 reg mod reg r-m IN e Input from% Fixed port 1110010w Variable port 1110110w port OUT e Output to% Fixed port 1110011w port Variable port 1110111w 7 7 XLAT e Translate byte to AL 11010111 11 15 LEA e Load EA to register 10001101 mod reg r-m 6 6 LDS e Load pointer to DS 11000101 mod reg r-m (mod i 11) 18 26 LES e Load pointer to ES 11000100 mod reg r-m (mod i 11) 18 26 LAHF e Load AH with flags 10011111 2 2 SAHF e Store AH into flags 10011110 3 3 PUSHF e Push flags 10011100 9 13 POPF e Pop flags 10011101 8 12 Shaded areas indicate instructions not available in 8086-8088 microsystems NOTE% Clock cycles shown for byte transfers For word operations0 add 4 clock cycles for all memory transfers 50 Product Name Datasheet Product Name Execution Timings Figure 20. Instruction Set Summary (Continued) Function Format 80C186EA Clock Cycles 80C188EA Clock Cycles Comments DATA TRANSFER (Continued) SEGMENT e Segment Override% CS 00101110 2 2 SS 00110110 2 2 DS 00111110 2 2 ES 00100110 2 2 3-10 3-10 4-16 4-16 3-4 3-4 3-10 3-10 4-16 4-16 3-4 3-4 3-15 3-15 3 3 3-10 3-10 4-16 4-16 3-4 3-4 3-10 3-10 4-16 4-16 3-4 3-4 3-15 3-15 3 3 3-10 3-10 3-10 3-10 3-10 3-10 ARITHMETIC ADD e Add% Reg-memory with register to either 000000dw mod reg r-m Immediate to register-memory 100000sw mod 0 0 0 r-m data Immediate to accumulator 0000010w data data if w e 1 000100dw mod reg r-m data if s w e 01 8-16-bit ADC e Add with carry% Reg-memory with register to either Immediate to register-memory 100000sw mod 0 1 0 r-m data Immediate to accumulator 0001010w data data if w e 1 Register-memory 1111111w mod 0 0 0 r-m Register 0 1 0 0 0 reg data if s w e 01 8-16-bit INC e Increment% SUB e Subtract% Reg-memory and register to either 001010dw mod reg r-m Immediate from register-memory 100000sw mod 1 0 1 r-m data Immediate from accumulator 0010110w data data if w e 1 000110dw mod reg r-m Immediate from register-memory 100000sw mod 0 1 1 r-m data Immediate from accumulator 0001110w data data if w e 1 Register-memory 1111111w mod 0 0 1 r-m Register 0 1 0 0 1 reg data if s w e 01 8-16-bit SBB e Subtract with borrow% Reg-memory and register to either data if s w e 01 8-16-bit DEC e Decrement CMP e Compare% Register-memory with register 0011101w mod reg r-m Register with register-memory 0011100w mod reg r-m Immediate with register-memory 100000sw mod 1 1 1 r-m data data if w e 1 Immediate with accumulator 0011110w data NEG e Change sign register-memory 1111011w mod 0 1 1 r-m AAA e ASCII adjust for add DAA e Decimal adjust for add data if s w e 01 3-4 3-4 3-10 3-10 00110111 8 8 00100111 4 4 AAS e ASCII adjust for subtract 00111111 7 7 DAS e Decimal adjust for subtract 00101111 4 4 MUL e Multiply (unsigned)@ 1111011w 26–28 35–37 32–34 41–43 26–28 35–37 32–34 41–48 8-16-bit mod 100 r-m Register-Byte Register-Word Memory-Byte Memory-Word Shaded areas indicate instructions not available in 8086-8088 microsystems NOTE% Clock cycles shown for byte transfers For word operations0 add 4 clock cycles for all memory transfers Product Name Datasheet 51 Product Name Execution Timings Figure 20. Instruction Set Summary (Continued) Function Format 80C186EA Clock Cycles 80C188EA Clock Cycles 25–28 34–37 31–34 40–43 25–28 34–37 32–34 40–43 22–25 29–32 22-25 29–32 29 38 35 44 29 38 35 44 44–52 53–61 50–58 59–67 44–52 53–61 50–58 59–67 Comments ARITHMETIC (Continued) IMUL e Integer multiply (signed)@ 1111011w mod 1 0 1 r-m Register-Byte Register-Word Memory-Byte Memory-Word IMUL e Integer Immediate multiply (signed) 011010s1 mod reg r-m DIV e Divide (unsigned)@ 1111011w mod 1 1 0 r-m data data if s e 0 Register-Byte Register-Word Memory-Byte Memory-Word IDIV e Integer divide (signed)@ 1111011w mod 1 1 1 r-m Register-Byte Register-Word Memory-Byte Memory-Word AAM e ASCII adjust for multiply 11010100 00001010 19 19 AAD e ASCII adjust for divide 11010101 00001010 15 15 CBW e Convert byte to word 10011000 2 2 CWD e Convert word to double word 10011001 4 4 2-15 2-15 LOGIC ShiftRotate Instructions% Register-Memory by 1 1101000w mod TTT r-m Register-Memory by CL 1101001w mod TTT r-m Register-Memory by Count 1100000w mod TTT r-m 5 a n-17 a n 5 a n-17 a n 5 a n-17 a n 5 a n-17 a n count TTT Instruction 000 ROL 001 ROR 010 RCL 011 RCR 1 0 0 SHL-SAL 101 SHR 111 SAR AND e And% Reg-memory and register to either 001000dw mod reg r-m Immediate to register-memory 1000000w mod 1 0 0 r-m data Immediate to accumulator 0010010w data data if w e 1 Register-memory and register 1000010w mod reg r-m Immediate data and register-memory 1111011w mod 0 0 0 r-m data data data if w e 1 data if w e 1 3-10 3-10 4-16 4-16 3-4 3-4 3-10 3-10 4-10 4-10 3-4 3-4 3-10 3-10 4-16 4-16 3-4 3-4 8-16-bit TEST e And function to flags no result% Immediate data and accumulator 1010100w data if w e 1 8-16-bit OR e Or% Reg-memory and register to either 000010dw mod reg r-m Immediate to register-memory 1000000w mod 0 0 1 r-m data Immediate to accumulator 0000110w data data if w e 1 data if w e 1 8-16-bit Shaded areas indicate instructions not available in 8086-8088 microsystems NOTE% Clock cycles shown for byte transfers For word operations0 add 4 clock cycles for all memory transfers 52 Product Name Datasheet Product Name Execution Timings Figure 20. Instruction Set Summary (Continued) Function Format 80C186EA Clock Cycles 80C188EA Clock Cycles 3-10 3-10 4-16 4-16 3-4 3-4 3-10 3-10 14 14 Comments LOGIC (Continued) XOR e Exclusive or% Reg-memory and register to either 001100dw mod reg r-m Immediate to register-memory 1000000w mod 1 1 0 r-m data Immediate to accumulator 0011010w data data if w e 1 NOT e Invert register-memory 1111011w mod 0 1 0 r-m data if w e 1 8-16-bit STRING MANIPULATION MOVS e Move byte-word 1010010w CMPS e Compare byte-word 1010011w 22 22 SCAS e Scan byte-word 1010111w 15 15 LODS e Load byte-wd to AL-AX 1010110w 12 12 STOS e Store byte-wd from AL-AX 1010101w 10 10 INS e Input byte-wd from DX port 0110110w 14 14 OUTS e Output byte-wd to DX port 0110111w 14 14 Repeated by count in CX (REP-REPE-REPZ-REPNE-REPNZ) MOVS e Move string 11110010 1010010w 8 a 8n 8 a 8n CMPS e Compare string 1111001z 1010011w 5 a 22n 5 a 22n SCAS e Scan string 1111001z 1010111w 5 a 15n 5 a 15n LODS e Load string 11110010 1010110w 6 a 11n 6 a 11n STOS e Store string 11110010 1010101w 6 a 9n 6 a 9n INS e Input string 11110010 0110110w 8 a 8n 8 a 8n OUTS e Output string 11110010 0110111w 8 a 8n 8 a 8n CONTROL TRANSFER CALL e Call% Direct within segment 11101000 disp-low Register-memory indirect within segment 11111111 mod 0 1 0 r-m Direct intersegment 10011010 disp-high segment offset 15 19 13-19 17-27 23 31 38 54 14 14 14 14 11-17 11-21 14 14 26 34 segment selector Indirect intersegment 11111111 mod 0 1 1 r-m Short-long 11101011 disp-low Direct within segment 11101001 disp-low Register-memory indirect within segment 11111111 mod 1 0 0 r-m Direct intersegment 11101010 (mod i 11) JMP e Unconditional jump% disp-high segment offset segment selector Indirect intersegment 11111111 mod 1 0 1 r-m (mod i 11) Shaded areas indicate instructions not available in 8086-8088 microsystems NOTE% Clock cycles shown for byte transfers For word operations0 add 4 clock cycles for all memory transfers Product Name Datasheet 53 Product Name Execution Timings Figure 20. Instruction Set Summary (Continued) Function Format 80C186EA Clock Cycles 80C188EA Clock Cycles 16 20 Comments CONTROL TRANSFER (Continued) RET e Return from CALL% Within segment 11000011 Within seg adding immed to SP 11000010 Intersegment 11001011 Intersegment adding immediate to SP 11001010 data-low JEJZ e Jump on equal-zero 01110100 disp data-low data-high data-high 18 22 22 30 25 33 4-13 4-13 JLJNGE e Jump on less-not greater or equal 01111100 disp 4-13 4-13 JLEJNG e Jump on less or equal-not greater 01111110 disp 4-13 4-13 JBJNAE e Jump on below-not above or equal 01110010 disp 4-13 4-13 JBEJNA e Jump on below or equal-not above 01110110 disp 4-13 4-13 JPJPE e Jump on parity-parity even 01111010 disp 4-13 4-13 JO e Jump on overflow 01110 000 disp 4-13 4-13 JS e Jump on sign 01111000 disp 4-13 4-13 JNEJNZ e Jump on not equal-not zero 01110101 disp 4-13 4-13 JNLJGE e Jump on not less-greater or equal 01111101 disp 4-13 4-13 JNLEJG e Jump on not less or equal-greater 01111111 disp 4-13 4-13 JNBJAE e Jump on not below-above or equal 01110011 disp 4-13 4-13 JNBEJA e Jump on not below or equal-above 01110111 disp 4-13 4-13 JNPJPO e Jump on not par-par odd 01111011 disp 4-13 4-13 JNO e Jump on not overflow 01110001 disp 4-13 4-13 JNS e Jump on not sign 01111001 disp 4-13 4-13 JCXZ e Jump on CX zero 11100011 disp 5-15 5-15 LOOP e Loop CX times 11100010 disp 6-16 6-16 LOOPZLOOPE e Loop while zero-equal 11100001 disp 6-16 6-16 LOOPNZLOOPNE e Loop while not zero-equal 11100000 disp 6-16 6-16 ENTER e Enter Procedure 11001000 data-low 15 25 22 a 16(n b 1) 19 29 26 a 20(n b 1) 8 8 47 47 data-high Le0 Le1 Ll1 LEAVE e Leave Procedure 11001001 JMP not taken-JMP taken LOOP not taken-LOOP taken L INT e Interrupt% Type specified 11001101 type Type 3 11001100 45 45 if INT taken- INTO e Interrupt on overflow 11001110 48-4 48-4 if INT not taken IRET e Interrupt return 11001111 28 28 BOUND e Detect value out of range 01100010 33–35 33–35 mod reg r-m Shaded areas indicate instructions not available in 8086-8088 microsystems NOTE% Clock cycles shown for byte transfers For word operations0 add 4 clock cycles for all memory transfers 54 Product Name Datasheet Product Name Execution Timings Figure 20. Instruction Set Summary (Continued) Function Format 80C186EA Clock Cycles 80C188EA Clock Cycles 2 2 Comments PROCESSOR CONTROL CLC e Clear carry 11111000 CMC e Complement carry 11110101 2 2 STC e Set carry 11111001 2 2 CLD e Clear direction 11111100 2 2 STD e Set direction 11111101 2 2 CLI e Clear interrupt 11111010 2 2 STI e Set interrupt 11111011 2 2 HLT e Halt 11110100 2 2 WAIT e Wait 10011011 6 6 LOCK e Bus lock prefix 11110000 2 2 NOP e No Operation 10010000 3 3 if TEST e 0 (TTT LLL are opcode to processor extension) Shaded areas indicate instructions not available in 8086-8088 microsystems NOTE% Clock cycles shown for byte transfers For word operations0 add 4 clock cycles for all memory transfers The Effective Address (EA) of the memory operand is computed according to the mod and r-m fields@ if mod e 11 then r-m is treated as a REG field if mod e 00 then DISP e 00 disp-low and disphigh are absent if mod e 01 then DISP e disp-low sign-extended to 16-bits0 disp-high is absent if mod e 10 then DISP e disp-high@ disp-low e 000 then EA e (BX) a (SI) a DISP if r-m e 001 then EA e (BX) a (DI) a DISP if r-m e 010 then EA e (BP) a (SI) a DISP if r-m e 011 then EA e (BP) a (DI) a DISP if r-m e 100 then EA e (SI) a DISP if r-m e 101 then EA e (DI) a DISP if r-m e 110 then EA e (BP) a DISP if r-m e 111 then EA e (BX) a DISP if r-m DISP follows 2nd byte of instruction (before data if required) except if mod e 00 and r-m e 110 then EA e disp-high@ disp-low EA calculation time is 4 clock cycles for all modes0 and is included in the execution times given whenever appropriate Segment Override Prefix 0 0 1 Product Name Datasheet reg 1 1 reg is assigned according to the following@ Segment reg Register 00 ES 01 CS 10 SS 11 DS REG is assigned according to the following table@ 16-Bit (w e 1) 8-Bit (w e 0) 000 AX 000 AL 001 CX 001 CL 010 DX 010 DL 011 BX 011 BL 100 SP 100 AH 101 BP 101 CH 110 SI 110 DH 111 DI 111 BH The physical addresses of all operands addressed by the BP register are computed using the SS segment register The physical addresses of the destination operands of the string primitive operations (those addressed by the DI register) are computed using the ES segment0 which may not be overridden 0 55 Revision History 16.0 Revision History Intel 80C186EA/80L186EA devices are marked with a 9-character alphanumeric Intel FPO number underneath the product number. This data sheet update is valid for devices with an “A”, “B”, “C”, “D”, or “E” as the ninth character in the FPO number, as illustrated in Figure 3 for the 68-lead PLCC package, and as also illustrated in diagrams of the 84-lead QFP (EIAJ) package in previous revisions of this datasheet. Such devices may also be identified by reading a value of 01H, 02H, 03H from the STEPID register. This data sheet replaces the following data sheets: • • • • • • 17.0 272019-002—80C186EA 272020-002—80C188EA 272021-002—80L186EA 272022-002—80L188EA 272307-001—SB80C186EA/SB80L186EA 272308-001—SB80C188EA/SB80L188EA Errata An 80C186EA/80L186EA with a STEPID value of 01H or 02H has the following known errata. A device with a STEPID of 01H or 02H can be visually identified by noting the presence of an “A,” “B”, or “C” alpha character, next to the FPO number. The FPO number location is shown in Figure 3. 1. An internal condition with the interrupt controller can cause no acknowledge cycle on the INTA1 line in response to INT1. This errata only occurs when Interrupt 1 is configured in cascade mode and a higher priority interrupt exists. This errata will not occur consistently, it is dependent on interrupt timing. An 80C186EA/80L186EA with a STEPID value of 03H has no known errata. A device with a STEPID of 03H can be visually identified by noting the presence of a “D” or “E” alpha character next to the FPO number. The FPO number location is shown in Figure 3. 56 Product Name Datasheet