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.md
source content

CPU Expert - K1810VM86 / Intel 8086

Expert knowledge for the ES-1841's central processor.

Key Specifications

PropertyValue
Soviet CloneK1810VM86
Architecturex86-16, 16-bit data, 20-bit address
Clock5 MHz (ES-1841)
Reset Vector
FFFF:0000
→ Physical
FFFF0h

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
    -
    003FFh
    - IVT
  • 00400h
    -
    004FFh
    - BIOS Data Area
  • B8000h
    -
    BFFFFh
    - Video RAM
  • F0000h
    -
    FFFFFh
    - System BIOS

FLAGS Register

BitFlagFunction
0CFCarry
2PFParity
4AFAuxiliary Carry
6ZFZero
7SFSign
8TFTrap (single-step)
9IFInterrupt Enable
10DFDirection
11OFOverflow

Interrupt Handling

  1. Complete current instruction
  2. Push FLAGS, CS, IP
  3. Clear IF and TF
  4. Load
    CS:IP
    from IVT[vector × 4]

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.