Claude-skill-registry cpu-expert
Expert on K1810VM86 (Intel 8086) CPU architecture for ES-1841. Provides guidance on registers, instruction decoding, memory segmentation, interrupts, bus cycles, and x86-16 behavior.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/cpu-expert" ~/.claude/skills/majiayu000-claude-skill-registry-cpu-expert && rm -rf "$T"
manifest:
skills/data/cpu-expert/SKILL.mdsource content
CPU Expert - K1810VM86 / Intel 8086
Expert knowledge for the ES-1841's central processor.
Key Specifications
| Property | Value |
|---|---|
| Soviet Clone | K1810VM86 |
| Architecture | x86-16, 16-bit data, 20-bit address |
| Clock | 5 MHz (ES-1841) |
| Reset Vector | → Physical |
Register Set
General Purpose (16-bit, split into 8-bit):
- AX (AH/AL) - Accumulator
- BX (BH/BL) - Base
- CX (CH/CL) - Count
- DX (DH/DL) - Data
Index/Pointer: SI, DI, BP, SP
Segment: CS, DS, SS, ES (reset: CS=
FFFFh, others=0000h)
Special: IP, FLAGS
Memory Segmentation
Physical Address = (Segment << 4) + Offset
1 MB address space. Key regions:
-00000h
- IVT003FFh
-00400h
- BIOS Data Area004FFh
-B8000h
- Video RAMBFFFFh
-F0000h
- System BIOSFFFFFh
FLAGS Register
| Bit | Flag | Function |
|---|---|---|
| 0 | CF | Carry |
| 2 | PF | Parity |
| 4 | AF | Auxiliary Carry |
| 6 | ZF | Zero |
| 7 | SF | Sign |
| 8 | TF | Trap (single-step) |
| 9 | IF | Interrupt Enable |
| 10 | DF | Direction |
| 11 | OF | Overflow |
Interrupt Handling
- Complete current instruction
- Push FLAGS, CS, IP
- Clear IF and TF
- Load
from IVT[vector × 4]CS:IP
Bus Cycles
4 clocks per memory/IO access (minimum mode):
- T1: Address, ALE high
- T2: ALE low, RD/WR asserted
- T3: Data transfer
- T4: Bus idle
References
See references/ for detailed documentation.