Microcode Explained

In processor design, microcode serves as an intermediary layer situated between the central processing unit (CPU) hardware and the programmer-visible instruction set architecture of a computer, also known as its machine code.[1] It consists of a set of hardware-level instructions that implement the higher-level machine code instructions or control internal finite-state machine sequencing in many digital processing components. While microcode is utilized in general-purpose CPUs in contemporary desktops, it also functions as a fallback path for scenarios that the faster hardwired control unit is unable to manage.[2]

Housed in special high-speed memory, microcode translates machine instructions, state machine data, or other input into sequences of detailed circuit-level operations. It separates the machine instructions from the underlying electronics, thereby enabling greater flexibility in designing and altering instructions. Moreover, it facilitates the construction of complex multi-step instructions, while simultaneously reducing the complexity of computer circuits. The act of writing microcode is often referred to as microprogramming, and the microcode in a specific processor implementation is sometimes termed a microprogram.

Through extensive microprogramming, microarchitectures of smaller scale and simplicity can emulate more robust architectures with wider word lengths, additional execution units, and so forth. This approach provides a relatively straightforward method of ensuring software compatibility between different products within a processor family.

Some hardware vendors, notably IBM/Lenovo, use the term microcode interchangeably with firmware. In this context, all code within a device is termed microcode, whether it is microcode or machine code. For instance, updates to a hard disk drive's microcode often encompass updates to both its microcode and firmware.[3]

Overview

Instruction sets

At the hardware level, processors contain a number of separate areas of circuitry, or "units", that perform different tasks. Commonly found units include the arithmetic logic unit (ALU) which performs instructions such as addition or comparing two numbers, circuits for reading and writing data to external memory, and small areas of onboard memory to store these values while they are being processed. In most designs, additional high-performance memory, the register file, is used to store temporary values, not just those needed by the current instruction.[4]

To properly perform an instruction, the various circuits have to be activated in order. For instance, it is not possible to add two numbers if they have not yet been loaded from memory. In RISC designs, the proper ordering of these instructions is largely up to the programmer, or at least to the compiler of the programming language they are using. So to add two numbers, for instance, the compiler may output instructions to load one of the values into one register, the second into another, call the addition function in the ALU, and then write the result back out to memory.[4]

As the sequence of instructions needed to complete this higher-level concept, "add these two numbers in memory", may require multiple instructions, this can represent a performance bottleneck if those instructions are stored in main memory. Reading those instructions one by one is taking up time that could be used to read and write the actual data. For this reason, it is common for non-RISC designs to have many different instructions that differ largely on where they store data. For instance, the MOS 6502 has eight variations of the addition instruction,, which differ only in where they look to find the two operands.[5]

Using the variation of the instruction, or "opcode", that most closely matches the ultimate operation can reduce the number of instructions to one, saving memory used by the program code and improving performance by leaving the data bus open for other operations. Internally, however, these instructions are not separate operations, but sequences of the operations the units actually perform. Converting a single instruction read from memory into the sequence of internal actions is the duty of the control unit, another unit within the processor.[6]

Microcode

The basic idea behind microcode is to replace the custom logic implementing the instruction sequencing with a series of simple instructions run in a "microcode engine" in the processor. Whereas a custom logic system might have a series of diodes and gates that output a series of voltages on various control lines, the microcode engine is connected to these lines instead, and these are turned on and off as the engine reads the microcode instructions in sequence. The microcode instructions are often bit encoded to those lines, for instance, if bit 8 is true, that might mean that the ALU should be paused awaiting data. In this respect microcode is somewhat similar to the paper rolls in a player piano, where the holes represent which key should be pressed.

The distinction between custom logic and microcode may seem small, one uses a pattern of diodes and gates to decode the instruction and produce a sequence of signals, whereas the other encodes the signals as microinstructions that are read in sequence to produce the same results. The critical difference is that in a custom logic design, changes to the individual steps require the logic to be redesigned. Using microcode, all that changes is the code stored in the associated read only memory (ROM). This makes it much easier to fix problems in a microcode system. It also means that there is no effective limit to the complexity of the instructions, it is only limited by the amount of ROM one is willing to use.

The lowest layer in a computer's software stack is traditionally raw machine code instructions for the processor. In microcoded processors, fetching and decoding those instructions, and executing them, may be done by microcode. To avoid confusion, each microprogram-related element is differentiated by the micro prefix: microinstruction, microassembler, microprogrammer, etc.[7]

Complex digital processors may also employ more than one (possibly microcode-based) control unit in order to delegate sub-tasks that must be performed essentially asynchronously in parallel. For example, the VAX 9000 has a hardwired IBox unit to fetch and decode instructions, which it hands to a microcoded EBox unit to be executed,[8] and the VAX 8800 has both a microcoded IBox and a microcoded EBox.[9]

A high-level programmer, or even an assembly language programmer, does not normally see or change microcode. Unlike machine code, which often retains some backward compatibility among different processors in a family, microcode only runs on the exact electronic circuitry for which it is designed, as it constitutes an inherent part of the particular processor design itself.

Design

Engineers normally write the microcode during the design phase of a processor, storing it in a read-only memory (ROM) or programmable logic array (PLA)[10] structure, or in a combination of both.[11] However, machines also exist that have some or all microcode stored in static random-access memory (SRAM) or flash memory. This is traditionally denoted as writable control store in the context of computers, which can be either read-only or read–write memory. In the latter case, the CPU initialization process loads microcode into the control store from another storage medium, with the possibility of altering the microcode to correct bugs in the instruction set, or to implement new machine instructions.

Microprograms

Microprograms consist of series of microinstructions, which control the CPU at a very fundamental level of hardware circuitry. For example, a single typical horizontal microinstruction might specify the following operations:

To simultaneously control all processor's features in one cycle, the microinstruction is often wider than 50 bits; e.g., 128 bits on a 360/85 with an emulator feature. Microprograms are carefully designed and optimized for the fastest possible execution, as a slow microprogram would result in a slow machine instruction and degraded performance for related application programs that use such instructions.

Justification

Microcode was originally developed as a simpler method of developing the control logic for a computer. Initially, CPU instruction sets were hardwired. Each step needed to fetch, decode, and execute the machine instructions (including any operand address calculations, reads, and writes) was controlled directly by combinational logic and rather minimal sequential state machine circuitry. While such hard-wired processors were very efficient, the need for powerful instruction sets with multi-step addressing and complex operations (see below) made them difficult to design and debug; highly encoded and varied-length instructions can contribute to this as well, especially when very irregular encodings are used.

Microcode simplified the job by allowing much of the processor's behaviour and programming model to be defined via microprogram routines rather than by dedicated circuitry. Even late in the design process, microcode could easily be changed, whereas hard-wired CPU designs were very cumbersome to change. Thus, this greatly facilitated CPU design.

From the 1940s to the late 1970s, a large portion of programming was done in assembly language; higher-level instructions mean greater programmer productivity, so an important advantage of microcode was the relative ease by which powerful machine instructions can be defined. The ultimate extension of this are "Directly Executable High Level Language" designs, in which each statement of a high-level language such as PL/I is entirely and directly executed by microcode, without compilation. The IBM Future Systems project and Data General Fountainhead Processor are examples of this. During the 1970s, CPU speeds grew more quickly than memory speeds and numerous techniques such as memory block transfer, memory pre-fetch and multi-level caches were used to alleviate this. High-level machine instructions, made possible by microcode, helped further, as fewer more complex machine instructions require less memory bandwidth. For example, an operation on a character string can be done as a single machine instruction, thus avoiding multiple instruction fetches.

Architectures with instruction sets implemented by complex microprograms included the IBM System/360 and Digital Equipment Corporation VAX. The approach of increasingly complex microcode-implemented instruction sets was later called complex instruction set computer (CISC). An alternate approach, used in many microprocessors, is to use one or more programmable logic array (PLA) or read-only memory (ROM) (instead of combinational logic) mainly for instruction decoding, and let a simple state machine (without much, or any, microcode) do most of the sequencing. The MOS Technology 6502 is an example of a microprocessor using a PLA for instruction decode and sequencing. The PLA is visible in photomicrographs of the chip,[12] and its operation can be seen in the transistor-level simulation.

Microprogramming is still used in modern CPU designs. In some cases, after the microcode is debugged in simulation, logic functions are substituted for the control store. Logic functions are often faster and less expensive than the equivalent microprogram memory.

Benefits

A processor's microprograms operate on a more primitive, totally different, and much more hardware-oriented architecture than the assembly instructions visible to normal programmers. In coordination with the hardware, the microcode implements the programmer-visible architecture. The underlying hardware need not have a fixed relationship to the visible architecture. This makes it easier to implement a given instruction set architecture on a wide variety of underlying hardware micro-architectures.

The IBM System/360 has a 32-bit architecture with 16 general-purpose registers, but most of the System/360 implementations use hardware that implements a much simpler underlying microarchitecture; for example, the System/360 Model 30 has 8-bit data paths to the arithmetic logic unit (ALU) and main memory and implemented the general-purpose registers in a special unit of higher-speed core memory, and the System/360 Model 40 has 8-bit data paths to the ALU and 16-bit data paths to main memory and also implemented the general-purpose registers in a special unit of higher-speed core memory. The Model 50 has full 32-bit data paths and implements the general-purpose registers in a special unit of higher-speed core memory.[13] The Model 65 through the Model 195 have larger data paths and implement the general-purpose registers in faster transistor circuits. In this way, microprogramming enabled IBM to design many System/360 models with substantially different hardware and spanning a wide range of cost and performance, while making them all architecturally compatible. This dramatically reduces the number of unique system software programs that must be written for each model.

A similar approach was used by Digital Equipment Corporation (DEC) in their VAX family of computers. As a result, different VAX processors use different microarchitectures, yet the programmer-visible architecture does not change.

Microprogramming also reduces the cost of field changes to correct defects (bugs) in the processor; a bug can often be fixed by replacing a portion of the microprogram rather than by changes being made to hardware logic and wiring.

History

Early examples

In 1947, the design of the MIT Whirlwind introduced the concept of a control store as a way to simplify computer design and move beyond ad hoc methods. The control store is a diode matrix: a two-dimensional lattice, where one dimension accepts "control time pulses" from the CPU's internal clock, and the other connects to control signals on gates and other circuits. A "pulse distributor" takes the pulses generated by the CPU clock and breaks them up into eight separate time pulses, each of which activates a different row of the lattice. When the row is activated, it activates the control signals connected to it.[14]

In 1951, Maurice Wilkes enhanced this concept by adding conditional execution, a concept akin to a conditional in computer software. His initial implementation consisted of a pair of matrices: the first one generated signals in the manner of the Whirlwind control store, while the second matrix selected which row of signals (the microprogram instruction word, so to speak) to invoke on the next cycle. Conditionals were implemented by providing a way that a single line in the control store could choose from alternatives in the second matrix. This made the control signals conditional on the detected internal signal. Wilkes coined the term microprogramming to describe this feature and distinguish it from a simple control store.

The 360

See main article: System/360. Microcode remained relatively rare in computer design as the cost of the ROM needed to store the code was not significantly different than using a custom control store. This changed through the early 1960s with the introduction of mass-produced core memory and core rope, which was far less expensive than dedicated logic based on diode arrays or similar solutions. The first to take real advantage of this was IBM in their 1964 System/360 series. This allowed the machines to have a very complex instruction set, including operations that matched high-level language constructs like formatting binary values as decimal strings, storing the complex series of instructions needed for this task in low cost memory.[15]

But the real value in the 360 line was that one could build a series of machines that were completely different internally, yet run the same ISA. For a low-end machine, one might use an 8-bit ALU that requires multiple cycles to complete a single 32-bit addition, while a higher end machine might have a full 32-bit ALU that performs the same addition in a single cycle. These differences could be implemented in control logic, but the cost of implementing a completely different decoder for each machine would be prohibitive. Using microcode meant all that changed was the code in the ROM. For instance, one machine might include a floating point unit and thus its microcode for multiplying two numbers might be only a few lines line, whereas on the same machine without the FPU this would be a program that did the same using multiple additions, and all that changed was the ROM.[15]

The outcome of this design was that customers could use a low-end model of the family to develop their software, knowing that if more performance was ever needed, they could move to a faster version and nothing else would change. This lowered the barrier to entry and the 360 was a runaway success. By the end of the decade, the use of microcode was de rigueur across the mainframe industry.

Moving up the line

Early minicomputers were far too simple to require microcode, and were more similar to earlier mainframes in terms of their instruction sets and the way they were decoded. But it was not long before their designers began using more powerful integrated circuits that allowed for more complex ISAs. By the mid-1970s, most new minicomputers and superminicomputers were using microcode as well, such as most models of the PDP-11 and, most notably, most models of the VAX, which included high-level instruction not unlike those found in the 360.[16]

The same basic evolution occurred with microprocessors as well. Early designs were extremely simple, and even the more powerful 8-bit designs of the mid-1970s like the Zilog Z80 had instruction sets that were simple enough to be implemented in dedicated logic. By this time, the control logic could be patterned into the same die as the CPU, making the difference in cost between ROM and logic less of an issue. However, it was not long before these companies were also facing the problem of introducing higher-performance designs but still wanting to offer backward compatibility. Among early examples of microcode in micros was the Intel 8086.[6]

Among the ultimate implementations of microcode in microprocessors is the Motorola 68000. This offered a highly orthogonal instruction set with a wide variety of addressing modes, all implemented in microcode. This did not come without cost, according to early articles, about 20% of the chip's surface area (and thus cost) is the microcode system.[17] and later estimates suggest approximately 23,000 of the systems 68,000 gates were part of the microcode system.

RISC enters

While companies continued to compete on the complexity of their instruction sets, and the use of microcode to implement these was unquestioned, in the mid-1970s an internal project in IBM was raising serious questions about the entire concept. As part of a project to develop a high-performance all-digital telephone switch, a team led by John Cocke began examining huge volumes of performance data from their customer's 360 (and System/370) programs. This led them to notice a curious pattern: when the ISA presented multiple versions of an instruction, the compiler almost always used the simplest one, instead of the one most directly representing the code. They learned that this was because those instructions were always implemented in hardware, and thus run the fastest. Using the other instruction might offer higher performance on some machines, but there was no way to know what machine they were running on. This defeated the purpose of using microcode in the first place, which was to hide these distinctions.[18]

The team came to a radical conclusion: "Imposing microcode between a computer and its users imposes an expensive overhead in performing the most frequently executed instructions."[18]

The result of this discovery was what is today known as the RISC concept. The complex microcode engine and its associated ROM is reduced or eliminated completely, and those circuits instead dedicated to things like additional registers or a wider ALU, which increases the performance of every program. When complex sequences of instructions are needed, this is left to the compiler, which is the entire purpose of using a compiler in the first place. The basic concept was soon picked up by university researchers in California, where simulations suggested such designs would trivially outperform even the fastest conventional designs. It was one such project, at the University of California, Berkeley, that introduced the term RISC.

The industry responded to the concept of RISC with both confusion and hostility, including a famous dismissive article by the VAX team at Digital.[19] A major point of contention was that implementing the instructions outside of the processor meant it would spend much more time reading those instructions from memory, thereby slowing overall performance no matter how fast the CPU itself ran.[19] Proponents pointed out that simulations clearly showed the number of instructions was not much greater, especially when considering compiled code.[18]

The debate raged until the first commercial RISC designs emerged in the second half of the 1980s, which easily outperformed the most complex designs from other companies. By the late 1980s it was over; even DEC was abandoning microcode for their DEC Alpha designs, and CISC processors switched to using hardwired circuitry, rather than microcode, to perform many functions. For example, the Intel 80486 uses hardwired circuitry to fetch and decode instructions, using microcode only to execute instructions; register-register move and arithmetic instructions required only one microinstruction, allowing them to be completed in one clock cycle.[20] The Pentium Pro's fetch and decode hardware fetches instructions and decodes them into series of micro-operations that are passed on to the execution unit, which schedules and executes the micro-operations, possibly doing so out-of-order. Complex instructions are implemented by microcode that consists of predefined sequences of micro-operations.[21]

Some processor designs use machine code that runs in a special mode, with special instructions, available only in that mode, that have access to processor-dependent hardware, to implement some low-level features of the instruction set. The DEC Alpha, a pure RISC design, used PALcode to implement features such as translation lookaside buffer (TLB) miss handling and interrupt handling,[22] as well as providing, for Alpha-based systems running OpenVMS, instructions requiring interlocked memory access that are similar to instructions provided by the VAX architecture. CMOS IBM System/390 CPUs, starting with the G4 processor, and z/Architecture CPUs use millicode to implement some instructions.[23]

Examples

Implementation

Each microinstruction in a microprogram provides the bits that control the functional elements that internally compose a CPU. The advantage over a hard-wired CPU is that internal CPU control becomes a specialized form of a computer program. Microcode thus transforms a complex electronic design challenge (the control of a CPU) into a less complex programming challenge. To take advantage of this, a CPU is divided into several parts:

There may also be a memory address register and a memory data register, used to access the main computer storage. Together, these elements form an "execution unit". Most modern CPUs have several execution units. Even simple computers usually have one unit to read and write memory, and another to execute user code. These elements could often be brought together as a single chip. This chip comes in a fixed width that would form a "slice" through the execution unit. These are known as "bit slice" chips. The AMD Am2900 family is one of the best known examples of bit slice elements.[38] The parts of the execution units and the whole execution units are interconnected by a bundle of wires called a bus.

Programmers develop microprograms, using basic software tools. A microassembler allows a programmer to define the table of bits symbolically. Because of its close relationship to the underlying architecture, "microcode has several properties that make it difficult to generate using a compiler." A simulator program is intended to execute the bits in the same way as the electronics, and allows much more freedom to debug the microprogram. After the microprogram is finalized, and extensively tested, it is sometimes used as the input to a computer program that constructs logic to produce the same data. This program is similar to those used to optimize a programmable logic array. Even without fully optimal logic, heuristically optimized logic can vastly reduce the number of transistors from the number needed for a read-only memory (ROM) control store. This reduces the cost to produce, and the electricity used by, a CPU.

Microcode can be characterized as horizontal or vertical, referring primarily to whether each microinstruction controls CPU elements with little or no decoding (horizontal microcode) or requires extensive decoding by combinatorial logic before doing so (vertical microcode). Consequently, each horizontal microinstruction is wider (contains more bits) and occupies more storage space than a vertical microinstruction.

Horizontal microcode

"Horizontal microcode has several discrete micro-operations that are combined in a single microinstruction for simultaneous operation." Horizontal microcode is typically contained in a fairly wide control store; it is not uncommon for each word to be 108 bits or more. On each tick of a sequencer clock a microcode word is read, decoded, and used to control the functional elements that make up the CPU.

In a typical implementation a horizontal microprogram word comprises fairly tightly defined groups of bits. For example, one simple arrangement might be:

Register source A Register source B Destination register Arithmetic and logic unit operation Type of jump Jump address

For this type of micromachine to implement a JUMP instruction with the address following the opcode, the microcode might require two clock ticks. The engineer designing it would write microassembler source code looking something like this:For each tick it is common to find that only some portions of the CPU are used, with the remaining groups of bits in the microinstruction being no-ops. With careful design of hardware and microcode, this property can be exploited to parallelise operations that use different areas of the CPU; for example, in the case above, the ALU is not required during the first tick, so it could potentially be used to complete an earlier arithmetic instruction.

Vertical microcode

In vertical microcode, each microinstruction is significantly encoded, that is, the bit fields generally pass through intermediate combinatory logic that, in turn, generates the control and sequencing signals for internal CPU elements (ALU, registers, etc.). This is in contrast with horizontal microcode, in which the bit fields either directly produce the control and sequencing signals or are only minimally encoded. Consequently, vertical microcode requires smaller instruction lengths and less storage, but requires more time to decode, resulting in a slower CPU clock.[39]

Some vertical microcode is just the assembly language of a simple conventional computer that is emulating a more complex computer. Some processors, such as DEC Alpha processors and the CMOS microprocessors on later IBM mainframes System/390 and z/Architecture, use machine code, running in a special mode that gives it access to special instructions, special registers, and other hardware resources unavailable to regular machine code, to implement some instructions and other functions,[40] [41] such as page table walks on Alpha processors.[42] This is called PALcode on Alpha processors and millicode on IBM mainframe processors.

Another form of vertical microcode has two fields:

Field select Field value

The field select selects which part of the CPU will be controlled by this word of the control store. The field value controls that part of the CPU. With this type of microcode, a designer explicitly chooses to make a slower CPU to save money by reducing the unused bits in the control store; however, the reduced complexity may increase the CPU's clock frequency, which lessens the effect of an increased number of cycles per instruction.

As transistors grew cheaper, horizontal microcode came to dominate the design of CPUs using microcode, with vertical microcode being used less often.

When both vertical and horizontal microcode are used, the horizontal microcode may be referred to as nanocode or picocode.[43]

Writable control store

A few computers were built using writable microcode. In this design, rather than storing the microcode in ROM or hard-wired logic, the microcode is stored in a RAM called a writable control store or WCS. Such a computer is sometimes called a writable instruction set computer (WISC).[44]

Many experimental prototype computers use writable control stores; there are also commercial machines that use writable microcode, such as the Burroughs Small Systems, early Xerox workstations, the DEC VAX 8800 (Nautilus) family, the Symbolics L- and G-machines, a number of IBM System/360 and System/370 implementations, some DEC PDP-10 machines,[45] and the Data General Eclipse MV/8000.[46]

The IBM System/370 includes a facility called Initial-Microprogram Load (IML or IMPL)[47] that can be invoked from the console, as part of power-on reset (POR) or from another processor in a tightly coupled multiprocessor complex.

Some commercial machines, for example IBM 360/85,[48] [49] have both a read-only storage and a writable control store for microcode.

WCS offers several advantages including the ease of patching the microprogram and, for certain hardware generations, faster access than ROMs can provide. User-programmable WCS allows the user to optimize the machine for specific purposes.

Starting with the Pentium Pro in 1995, several x86 CPUs have writable Intel Microcode.[50] [51] This, for example, has allowed bugs in the Intel Core 2 and Intel Xeon microcodes to be fixed by patching their microprograms, rather than requiring the entire chips to be replaced. A second prominent example is the set of microcode patches that Intel offered for some of their processor architectures of up to 10 years in age, in a bid to counter the security vulnerabilities discovered in their designs – Spectre and Meltdown – which went public at the start of 2018.[52] [53] A microcode update can be installed by Linux,[54] FreeBSD,[55] Microsoft Windows,[56] or the motherboard BIOS.[57]

Some machines offer user-programmable writable control stores as an option, including the HP 2100, DEC PDP-11/60, TI-990/12,[58] [59] and Varian Data Machines V-70 series minicomputers.

Comparison to VLIW and RISC

The design trend toward heavily microcoded processors with complex instructions began in the early 1960s and continued until roughly the mid-1980s. At that point the RISC design philosophy started becoming more prominent.

A CPU that uses microcode generally takes several clock cycles to execute a single instruction, one clock cycle for each step in the microprogram for that instruction. Some CISC processors include instructions that can take a very long time to execute. Such variations interfere with both interrupt latency and, what is far more important in modern systems, pipelining.

When designing a new processor, a hardwired control RISC has the following advantages over microcoded CISC:

There are counterpoints as well:

Many RISC and VLIW processors are designed to execute every instruction (as long as it is in the cache) in a single cycle. This is very similar to the way CPUs with microcode execute one microinstruction per cycle. VLIW processors have instructions that behave similarly to very wide horizontal microcode, although typically without such fine-grained control over the hardware as provided by microcode. RISC instructions are sometimes similar to the narrow vertical microcode.

Microcode has been popular in application-specific processors such as network processors, digital signal processors, channel controllers, disk controllers, network interface controllers, flash memory controllers, graphics processing units, and in other hardware.

Micro-operations

Modern CISC implementations, such as the x86 family, decode instructions into dynamically buffered micro-operations with an instruction encoding similar to RISC or traditional microcode. A hardwired instruction decode unit directly emits microoperations for common x86 instructions, but falls back to a more traditional microcode ROM containing microoperations for more complex or rarely used instructions.[2]

For example, an x86 might look up microoperations from microcode to handle complex multistep operations such as loop or string instructions, floating-point unit transcendental functions or unusual values such as denormal numbers, and special-purpose instructions such as CPUID.

See also

Further reading

External links

Notes and References

  1. Book: Kent . Allen . Encyclopedia of Computer Science and Technology: Volume 28 - Supplement 13 . Williams . James G. . April 5, 1993 . Marcel Dekker, Inc . 0-8247-2281-7 . New York . Jan 17, 2016 . https://web.archive.org/web/20161120161636/https://books.google.com/books?id=EjWV8J8CQEYC . November 20, 2016 . live.
  2. The microarchitecture of Intel, AMD and VIA CPUs . Fog . Agner . 2017-05-02 . Technical University of Denmark . 2018-04-08 . https://web.archive.org/web/20170328065929/http://agner.org/optimize/microarchitecture.pdf . 2017-03-28 . live.
  3. Web site: IBM pSeries Servers - Microcode Update for Ultrastar 73LZX (US73) 18/36 GB . dead . https://web.archive.org/web/20190419105117/http://download.boulder.ibm.com/ibmdl/pub/software/server/firmware/73lzx.html . April 19, 2019 . January 22, 2015 . IBM.
  4. Web site: The central processing unit (CPU): Its components and functionality . Red Hat . David . Both . 23 July 2020.
  5. Web site: NMOS 6502 Opcodes . John . Pickens . 6502.org.
  6. Web site: How the 8086 processor's microcode engine works . Ken Shirriff's blog . Ken . Shirriff.
  7. Web site: ISO/IEC/IEEE 24765:2017(en) Systems and software engineering — Vocabulary . 2024-06-23 . www.iso.org.
  8. Book: VAX 9000 System Technical Description. Digital Equipment Corporation. May 1990. EK-KA90S-TD-001. 35-332.
  9. Book: VAX 8800 System Technical Description Volume 2. Digital Equipment Corporation. July 1986. EK-KA882-TD-PRE.
  10. Manning . B.M. . Mitby . J.S . Nicholson . J.O. . Microprogrammed Processor Having PLA Control Store . IBM Technical Disclosure Bulletin . 22 . 6 . November 1979 . 2011-07-10 . live . https://web.archive.org/web/20121001165413/http://www.computerhistory.org/collections/accession/102660026 . 2012-10-01.
  11. Often denoted a ROM/PLA control store in the context of usage in a CPU; Web site: Supnik . Bob . 24 February 2008 . J-11: DEC's fourth and last PDP-11 microprocessor design ... features ... ROM/PLA control store . 2011-07-10 . live . https://web.archive.org/web/20110709032923/http://simh.trailing-edge.com/semi/j11.html . 2011-07-09.
  12. Web site: 6502 Images . January 22, 2015 . live . https://web.archive.org/web/20160304093548/http://www.visual6502.org/images/6502/ . March 4, 2016.
  13. Book: IBM System/360 Model 50 Functional Characteristics. IBM. A22-6898-1. 7. 1967. October 29, 2021.
  14. Everett . R.R. . Swain . F.E. . 1947 . Whirlwind I Computer Block Diagrams . MIT Servomechanisms Laboratory . R-127 . June 21, 2006 . dead . https://web.archive.org/web/20120617112919/http://www.cryptosmith.com/wp-content/uploads/2009/05/whirlwindr-127.pdf . June 17, 2012.
  15. Web site: Simulating the IBM 360/50 mainframe from its microcode . Ken Shirriff's blog . Ken . Shirriff.
  16. Book: Supnik, Bob . May 1988 . VLSI VAX Micro-Architecture . Digital Equipment .
  17. Byte . April 1983 . Design Philosophy Behind Motorola's MC68000 . Thomas . Starnes .
  18. Cocke . John . Markstein . Victoria . 10.1147/rd.341.0004 . The evolution of RISC technology at IBM . IBM Journal of Research and Development . 34. 1 . 4–11 . January 1990 .
  19. Comments on "The Case for the Reduced Instruction Computer" . Douglas . Clark . William . Strecker . September 1980 . ACM. 8 . 6 . 34–38 . 10.1145/641914.641918 . 14939489 .
  20. The execution pipeline of the Intel i486 CPU. Digest of Papers Compcon Spring '90. Thirty-Fifth IEEE Computer Society International Conference on Intellectual Leverage. IEEE. 0-8186-2028-5. San Francisco, CA. 10.1109/CMPCON.1990.63682.
  21. Web site: Pentium Pro Processor At 150, 166, 180, and 200 MHz. Intel. November 1995. Datasheet.
  22. Book: Alpha AXP Architecture Reference Manual. Second. Part I / Common Architecture, Chapter 6 Common PALcode Architecture. Digital Press. 1995. 1-55558-145-5.
  23. Rogers. Bob. The What and Why of zEnterprise Millicode. IBM Systems Magazine. Sep–Oct 2012. https://web.archive.org/web/20121009085728/http://www.ibmsystemsmag.com/mainframe/administrator/performance/millicode_rogers/. October 9, 2012. dead.
  24. Web site: EMIDEC 1100 computer . Emidec.org.uk . April 26, 2010 . live . https://web.archive.org/web/20100612184405/http://www.emidec.org.uk/ . June 12, 2010.
  25. Book: IBM System/360 Model 25 Functional Characteristics . January 1968 . IBM . A24-3510-0 . 22 . October 29, 2021.
  26. Book: Field Engineering Theory of Operation, 2030 Processing Unit, System/360 Model 30 . First . June 1967 . IBM . Y24-3360-1 . 2019-11-09 . live . https://web.archive.org/web/20200401215647/http://www.bitsavers.org/pdf/ibm/360/fe/2030/Y24-3360-1_2030_FE_Theory_Opns_Jun67.pdf . 2020-04-01.
  27. Book: Computer Structures: Principles and Examples. http://gordonbell.azurewebsites.net/computer_structures_principles_and_examples/csp0687.htm. Daniel P. Siewiorek. Daniel Siewiorek. C. Gordon Bell. Gordon Bell. Allen Newell. Allen Newell. Implementation and Performance Evaluation of the PDP-11 Family. Edward A. Snow. Daniel P. Siewiorek. 671. McGraw-Hill Book Company. New York, NY. 1982. 0-07-057302-6. registration.
  28. Design of a Small Business Data Processing System. Frank. Soltis. IEEE Computer. September 1981. 14. 77–93. 10.1109/C-M.1981.220610. 398484.
  29. Book: Inside the AS/400, Second Edition. 978-1882419661. Frank G. Soltis. 1997. Duke Press.
  30. Web site: Interview: Battling the N64 (Naboo) . IGN64 . November 10, 2000 . March 27, 2008 . live . https://web.archive.org/web/20070913180626/http://ign64.ign.com/articles/087/087646p1.html . September 13, 2007.
  31. Web site: Indiana Jones and the Infernal Machine . IGN . December 12, 2000 . September 24, 2013 . live . https://web.archive.org/web/20130927083807/http://www.ign.com/articles/2000/12/13/indiana-jones-and-the-infernal-machine-2 . September 27, 2013.
  32. News: Meynink . Todd . July 28, 2000 . Postmortem: Angel Studios' Resident Evil 2 (N64 Version) . . . October 18, 2010 . live . https://web.archive.org/web/20121021070818/http://www.gamasutra.com/view/feature/3148/postmortem_angel_studios_.php . October 21, 2012.
  33. Book: Digital Scientific Meta 4 Series 16 Computer System Reference Manual . 7032MO . Digital Scientific Corporation . May 1971 . 2020-01-14 . live . https://web.archive.org/web/20200114014526/http://www.bitsavers.org/pdf/digitalScientific/7032MO_Meta4Series16RefMan.pdf . 2020-01-14.
  34. Book: Digital Scientific Meta 4 Computer System Read-Only Memory (ROM) Reference Manual . 7024MO . Digital Scientific Corporation . March 1970 . 2020-01-14 . live . https://web.archive.org/web/20190923061816/http://bitsavers.org/pdf/digitalScientific/7024MO_ROMmanual_Mar70.pdf . 2019-09-23.
  35. Book: The Digital Scientific Meta 4 Series 16 Computer System Preliminary System Manual . 7006MO . Digital Scientific Corporation . June 1970 . 2020-01-14 . live . https://web.archive.org/web/20190923061755/http://bitsavers.org/pdf/digitalScientific/7006MO_Meta16_SysMan_Jun70.pdf . 2019-09-23.
  36. Book: Digital Scientific Meta 4 Computer System Typical ROM Pattern Listing and Program To Simulate The IBM 1130 Instruction Set . M4/005P-170 . Digital Scientific Corporation . January 1970 . 2020-01-14 . live . https://web.archive.org/web/20200324115023/http://bitsavers.org/pdf/digitalScientific/M4-005P-170_1130rom_Jan70.pdf . 2020-03-24.
  37. Web site: Western Digital 1600 . AntiqueTech . 5 January 2017 . dead . https://web.archive.org/web/20170103021205/http://www.antiquetech.com/?page_id=782 . 3 January 2017.
  38. Book: Hayes, John P. . Computer Architecture and Organization . 0-07-027363-4 . 1978 . 300. McGraw-Hill .
  39. Web site: CS-323: High Performance Microprocessors – Chapter 1. Microprogramming . 2009-10-12 . 2015-08-08 . Neal Harman . Andy Gimblett . mat.uson.mx . 2015-04-19 . https://web.archive.org/web/20150419164703/http://euler.mat.uson.mx/~havillam/ca/CS323/0708.cs-323003.html . dead.
  40. Book: Vaupel, Robert . 2013 . High Availability and Scalability of Mainframe Environments using System z and z/OS as example . 26 . KIT Scientific . 978-3-7315-0022-3.
  41. Rogers . Bob . September–October 2012 . The What and Why of zEnterprise Millicode . IBM Systems Magazine . 2013-11-07 . dead . https://web.archive.org/web/20131016100828/http://ibmsystemsmag.com/mainframe/administrator/performance/millicode_rogers/ . 2013-10-16.
  42. Web site: PALcode for Alpha Microprocessors System Design Guide . . May 1996 . November 7, 2013 . live . https://web.archive.org/web/20110815022514/http://download.majix.org/dec/palcode_dsgn_gde.pdf . August 15, 2011.
  43. Book: Spruth, Wilhelm . December 2012 . The Design of a Microprocessor . Springer Science & Business Media . 978-3-642-74916-2 . 31 . Jan 18, 2015 . live . https://web.archive.org/web/20161120195023/https://books.google.com/books?id=0YmqCAAAQBAJ . November 20, 2016.
  44. Koopman . Philip Jr. . 1987 . Writable instruction set, stack oriented computers: The WISC Concept . The Journal of Forth Application and Research . 49–71 . live . https://web.archive.org/web/20080511192958/http://www.ece.cmu.edu/~koopman/forth/rochester_87.pdf . 2008-05-11.
  45. Smith . Eric . 3 September 2002 . Re: What was the size of Microcode in various machines . qhn0qyveyu.fsf@ruckus.brouhaha.com . alt.folklore.computers . 18 December 2008 . live . https://web.archive.org/web/20090126231132/http://pdp10.nocrew.org/cpu/kl10-ucode.txt . 26 January 2009.
  46. Web site: Smotherman . Mark . CPSC 3300 / The Soul of a New Machine . 4096 x 75-bit SRAM writable control store: 74-bit microinstruction with 1 parity bit (18 fields) . 2023-10-27.
  47. Book: IBM . IBM System/370 Principles of Operation . GA22-7000-4 . Fourth Edition . September 1974 . 98, 245 . 2012-08-27 . 2012-02-29 . https://web.archive.org/web/20120229195635/http://bitsavers.org/pdf/ibm/370/princOps/GA22-7000-4_370_Principles_Of_Operation_Sep75.pdf . live.
  48. Book: IBM . IBM System/360 Model 85 Functional Characteristics . A22-6916-1 . SECOND EDITION . June 1968 . October 29, 2021.
  49. Book: IBM . IBM System/360 Special Feature Description 709/7090/7094 Compatibility Feature for IBM System/360 Model 85 . GA27-2733-0 . First Edition . March 1969.
  50. Stiller . Andreas . Paul . Matthias R. . 1996-05-12 . Prozessorgeflüster . Trends & News . de . . . 2017-08-28 . live . https://web.archive.org/web/20170828172141/https://www.heise.de/ct/artikel/Prozessorgefluester-284546.html . 2017-08-28.
  51. Book: Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 3A: System Programming Guide, Part 1 . 9.11: Microcode update facilities . . September 2016.
  52. http://www.tomshardware.com/news/intel-meltdown-spectre-patch-silicon,36672.html Intel Patches All Recent CPUs, Promises Hardware Fixes For Upcoming 8th Gen Chips
  53. Web site: Download Linux* Processor Microcode Data File . 2018-03-21 . dead . https://web.archive.org/web/20180319202103/https://downloadcenter.intel.com/download/27591/Linux-Processor-Microcode-Data-File . 2018-03-19.
  54. Web site: Intel Microcode Update Utility for Linux . https://web.archive.org/web/20120226174302/http://urbanmyth.org/microcode/ . 2012-02-26 . dead.
  55. Web site: [ports] Index of /head/sysutils/cpupdate ]. Freebsd.org . 2020-01-16 . live . https://web.archive.org/web/20200401215701/https://svnweb.freebsd.org/ports/head/sysutils/cpupdate/ . 2020-04-01.
  56. News: A microcode reliability update is available that improves the reliability of systems that use Intel processors . 2008-02-25 . live . https://web.archive.org/web/20080223074207/http://support.microsoft.com/kb/936357 . 2008-02-23.
  57. Web site: Server Products - BIOS Update required when Missing Microcode message is seen during POST . January 24, 2013 . Intel . https://web.archive.org/web/20140901063251/http://www.intel.com/support/motherboards/server/sb/cs-021619.htm . September 1, 2014.
  58. Web site: Model 990/12 LR Computer Depot Maintenance and Repair Manual . Bitsavers.org . Texas Instruments . 15 February 2024.
  59. Book: Texas Instruments Model 990 Computer MDS-990 Microcode Development System Programmer's Guide . Texas Instruments Archives, RG-20 accession 94-08, Box 10, 45C. DeGolyer Library, Southern Methodist University, Dallas, TX USA . 15 August 1979.