Ken Shirriff
banner
righto.com
Ken Shirriff
@righto.com
Computer history. Reverse-engineering old chips. Restored Apollo Guidance Computer, Alto. Ex-Google, Sun, Msft. So-called boffin.
The 8086 processor uses microcode to specify each step of an instruction. The circuitry below decodes the microcode and sends control signals to the ALU so it performs the desired arithmetic or logic operation. In this die photo, you can see the individual transistors in the circuitry.
January 23, 2026 at 6:07 PM
The arithmetic/logic unit (ALU) in the Intel 8086 processor (1978) is more complicated than you might expect, performing 28 different operations from addition and logical AND to shifts and BCD adjustment. A special control circuit reconfigures the ALU for each operation. Let's look closer...
January 23, 2026 at 6:07 PM
Intel announced the 8087 floating-point chip in 1980. Now I have a blog post that explains a small part of the microcode in this chip.
www.righto.com/2025/12/8087...
Conditions in the Intel 8087 floating-point chip's microcode
In the 1980s, if you wanted your computer to do floating-point calculations faster, you could buy the Intel 8087 floating-point coprocessor ...
www.righto.com
December 30, 2025 at 7:54 PM
The 8087 was much more advanced than previous floating point. In particular, it was designed by Prof. Kahan, a floating-point expert, and was much more rigorous and accurate. It became the IEEE 754 standard, which almost all computers now use.
ieeemilestones.ethw.org/Milestone-Pr...
Milestone-Proposal:Intel 8087 Math Coprocessor
ieeemilestones.ethw.org
December 11, 2025 at 8:17 PM
I looked at the AM9511 datasheet. It's similar to the 8087 in that they are both floating-point chips that do arithmetic as well as transcendental functions, and both use a stack. However, the 9511 uses 16/32-bit floats, while the 8087 uses much larger floats, up to 80 digits.
December 11, 2025 at 8:15 PM
No, I haven't looked at that chip yet.
December 9, 2025 at 7:11 PM
For more on the stack circuitry in the 8087, see my blog post: www.righto.com/2025/12/8087...
The stack circuitry of the Intel 8087 floating point chip, reverse-engineered
Early microprocessors were very slow when operating with floating-point numbers. But in 1980, Intel introduced the 8087 floating-point copro...
www.righto.com
December 9, 2025 at 6:38 PM
Intel was hesitant to produce the 8087 chip, considering it complex, risky, and with an unknown market. Intel's Israel site took on the project; the die is marked "i/IL". The chip was a highly profitable success. Now, almost all computers use floating-point systems based on the 8087.
December 9, 2025 at 6:38 PM
This diagram, based on the 8087 patent, shows the implementation of the stack. You saw the registers (yellow) earlier. This photo shows the three-bit circuitry that controls the stack (purple, green, and blue). The schematic shows one bit in detail.
December 9, 2025 at 6:38 PM
Each bit is stored in a "static RAM" cell, consisting of two inverters in a loop. This circuit has two stable states, holding a 0 or a 1. The implementation is complicated: silicon with polysilicon lines on top to make transistors. Horizontal metal wires connect everything.
December 9, 2025 at 6:38 PM
Unlike most processors, the 8087 organizes its registers into a "stack", pushing numbers onto the top of the stack and popping them off. Here's a close-up of the eight registers, organized in a grid of cells. Each register holds an 80-bit number, so the registers are very tall.
December 9, 2025 at 6:38 PM
In 1980, Intel announced the 8087 Math Coprocessor, a chip that made floating-point 100 times faster. I opened up the chip, took photos of the silicon structures, and analyzed its circuitry. It's a very complex chip for its time. Let's take a look inside...
December 9, 2025 at 6:38 PM
Not yet...
November 22, 2025 at 7:14 PM
My latest blog post describes the wayward transistor and two other curiosities in the 386 processor's standard cell logic, so read it for details.

www.righto.com/2025/11/unus...
Unusual circuits in the Intel 386's standard cell logic
I've been studying the standard cell circuitry in the Intel 386 processor recently. The 386, introduced in 1985, was Intel's most complex pr...
www.righto.com
November 22, 2025 at 4:56 PM
Standard cells sped up the design of the 386 and the chip was completed ahead of schedule. Pat Gelsinger was one of the key people behind the use of standard cells in the 386 processor. Decades later, he became CEO of Intel.
November 22, 2025 at 4:56 PM
In standard cell logic, all the transistors are in orderly stripes. Except one that's out of place below, in the middle of the wiring region. What's going on? I think it's a bug fix. Instead of redoing all the circuitry, someone realized they could patch an extra transistor into an empty spot!
November 22, 2025 at 4:56 PM
It's much easier to build circuits with standard cells. Instead of manually arranging each transistor, you feed a description of the logic into a computer. It places the cells into rows, and then routes the wires to connect the cells. In 1985, this took many hours on an IBM mainframe computer.
November 22, 2025 at 4:56 PM
The previous photo shows the 386 processor under a microscope. I've highlighted the regions that use standard cells and the layout was automated. Simple logic blocks (the "standard cells") are arranged in rows, with wiring between the rows. This creates a distinctive striped pattern.
November 22, 2025 at 4:56 PM
Intel's 386 processor (1985) was critical to the success of Intel. With 285,000 transistors, it was too much for Intel's design process and the schedule started slipping. Intel pivoted to "standard cells", an automated technique for chip layout to get back on track. Let's look closer...
November 22, 2025 at 4:56 PM
MiniZinc solver page: www.minizinc.org
Link to Pips: www.nytimes.com/games/pips
The article on HN that inspired me to investigate constraint solvers: buttondown.com/hillelwayne/...
Play Pips, our new dominoes game for all skill levels.
Every domino has a spot. Can you find where each belongs?
www.nytimes.com
October 18, 2025 at 4:20 PM
If you're a programmer, I recommend looking at constraint solvers. This different paradigm will broaden your horizons. It's also much easier than I expected. See my blog for details: www.righto.com/2025/10/solv...
Solving the NYTimes Pips puzzle with a constraint solver
The New York Times recently introduced a new daily puzzle called Pips . The idea is to place a set of dominoes on a grid, satisfying variou...
www.righto.com
October 18, 2025 at 4:20 PM
MiniZinc gave me a solution to the Pips puzzle in 100 milliseconds. Admittedly, this puzzle is rated "easy", but MiniZinc quickly solves hard puzzles too. Internally, MiniZinc uses complicated algorithms such as backjumping and constraint propagation, but I don't need to worry about that.
October 18, 2025 at 4:20 PM
I used a constraint solver called MiniZinc. I wrote constraints for the problem: the conditions on the grid, the shape of the grid, and the values of the dominoes. A few more constraints defined how the problem works. I didn't need to write algorithms because MiniZinc solves automatically.
October 18, 2025 at 4:20 PM
The New York Times recently introduced daily puzzles called Pips. You place the dominoes on the grid so the numbers satisfy the labels.

I solved Pips with cool software called a constraint solver. You give the constraints, e.g. "sum to 8", and it "magically" finds a solution. Let's look closer...
October 18, 2025 at 4:20 PM