Skip to content
fpu-expert logo

FPU Expert - K1810VM87 / Intel 8087

fpu-expert

Expert on K1810VM87 (Intel 8087) floating-point coprocessor for ES-1841. Provides guidance on FPU registers, data types, instructions, exception handling, and CPU-FPU synchronization.

SKILL.md

Full skill instructions

FPU Expert - K1810VM87 / Intel 8087

Expert knowledge for the ES-1841's optional math coprocessor.

Key Specifications

ParameterValue
ChipK1810VM87 (Soviet 8087 clone)
Data Types16/​32/​64-bit integer, 32/​64/​80-bit float, 80-bit packed BCD
Registers8 × 80-bit stack (ST0-ST7)
StatusControl, Status, Tag words
I/​O PortsF0h-FFh (escape handler)
ExceptionIRQ 13 (via INT 75h on AT, varies on XT)

Register Stack

┌────────────────────────────────────────┐
│  ST(7)  │ 80-bit extended precision    │
├─────────┼──────────────────────────────┤
│  ST(6)  │                              │
├─────────┤                              │
│  ST(5)  │                              │
├─────────┤     Register Stack           │
│  ST(4)  │                              │
├─────────┤                              │
│  ST(3)  │                              │
├─────────┤                              │
│  ST(2)  │                              │
├─────────┤                              │
│  ST(1)  │                              │
├─────────┼──────────────────────────────┤
│  ST(0)  │ Top of Stack (TOS)           │
└─────────┴──────────────────────────────┘

Data Formats

TypeBitsRange
Word Integer16-32768 to +32767
Short Integer32-2×10⁹ to +2×10⁹
Long Integer64-9×10¹⁸ to +9×10¹⁸
Short Real32±1.2×10⁻³⁸ to ±3.4×10³⁸
Long Real64±2.2×10⁻³⁰⁸ to ±1.8×10³⁰⁸
Temp Real80±3.4×10⁻⁴⁹³² to ±1.2×10⁴⁹³²
Packed BCD8018 digits

Key Instructions

CategoryExamples
Load/​StoreFLD, FST, FSTP, FILD, FIST
ArithmeticFADD, FSUB, FMUL, FDIV, FSQRT
CompareFCOM, FCOMP, FTST
TranscendentalFSIN, FCOS, FPTAN, F2XM1, FYL2X
ControlFINIT, FWAIT, FSTCW, FLDCW

CPU-FPU Synchronization

; FWAIT/​WAIT required before reading FPU results
        FLD     QWORD [value]
        FSQRT
        FWAIT                   ; Wait for FPU to complete
        FST     QWORD [result]

Exception Handling

8087 exceptions:

  • Invalid operation
  • Denormalized operand
  • Zero divide
  • Overflow
  • Underflow
  • Precision (inexact)

ES-1841 Notes

  • Optional coprocessor (not always installed)
  • Software should detect presence before use
  • AlphaDOS may not fully support FPU

References

See references/ for detailed documentation.

More Other skills

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

179.7K 100.1K
View

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

179.7K 89.5K
View

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

179.7K 76.1K
View

Fundamental design principles for writing maintainable, testable Python code.

40.2K 21.9K
View

Modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first strategies.

40.2K 20K
View

Generate Playwright tests from scenarios using interactive browser exploration and validation.

39.7K 18.2K
View

Modern React state management with Redux Toolkit, Zustand, Jotai, and React Query for every state category.

40.2K 14.7K
View

GDPR-compliant data handling with consent management, data subject rights, and privacy controls.

40.2K 14.3K
View

Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.

40.2K 13.5K
View

Detailed multi-file refactor planning with safety checks and rollback guidance.

39.7K 13K
View