8086 微代码浏览器
Intel 8086 Microcode Explorer

原始链接: https://nand2mario.github.io/8086_microcode.html

这个交互式查看器展示了驱动英特尔8086处理器的512条微指令,基于Andrew Jenner和Ken Shirriff的反汇编工作。8086通过存储在控制ROM中的微代码执行指令,每条21位指令控制数据移动(移动字段)和诸如ALU功能和内存访问之类的操作(动作字段)。 微指令使用13位代码寻址,该代码分为9位AR和4位CR字段。查看器以二进制形式显示地址为AR.CR[3:2]。执行通常按顺序进行,但“短跳转”仅修改CR字段,而“长跳转”则利用转换ROM完全替换AR和CR,以进行更复杂的跳转。将鼠标悬停在跳转值上会突出显示其目标,从而深入了解8086的内部工作原理。

黑客新闻 新的 | 过去的 | 评论 | 提问 | 展示 | 工作 | 提交 登录 8086 微代码浏览器 (nand2mario.github.io) 10 分,by todsacerdoti 1 小时前 | 隐藏 | 过去的 | 收藏 | 2 评论 anematode 13 分钟前 | 下一个 [–] 太酷了 :) 这种对芯片照片的分析是否曾导致发现 8086 中的新型错误?回复 ChrisArchitect 1 小时前 | 上一个 [–] 之前:141 个赞,几乎没有评论 https://news.ycombinator.com/item?id=46140244 回复 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

Browse all 512 micro-instructions. Hover the Binary, Move, and Action columns for decoded details and color-coded bit fields.

Source: Andrew Jenner’s 8086 microcode disassembly, based on Ken Shirriff's die photo.

Author: @nand2mario — December 2025

The Intel 8086 executes its machine instructions through microcode. This viewer presents an interactive listing of all 512 micro-instructions in the control ROM. Each micro-instruction is 21 bits wide, addressed by a 13-bit micro-address, and split into two parts: a Move field, which moves data between internal registers, and an Action field, which controls ALU operations, memory cycles, branching, and other control signals.

The microcode address is composed of two fields: the upper 9 bits AR and the lower 4 bits CR. In the viewer, the opcode/address field is shown as AR.CR[3:2] (binary). When the opcode is empty, the next micro-instruction follows sequentially. For short jumps (type 0 actions), AR remains unchanged and a 4-bit target is loaded into CR; hovering the short-jump value highlights the target row. For long jumps (types 5 and 7), a separate Translation ROM maps a 4-bit destination code to a full 13-bit address, and both AR and CR are replaced with this translated value.

联系我们 contact @ memedata.com