Turbo Pascal 3.02A, deconstructed

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

A verified example of LLM-generated code analysis containing plausible but fabricated assembly, reinforcing that AI output needs independent expert review before publication.

Read this as

Simon Willison asked Claude to decompile and annotate the 39,731-byte Turbo Pascal 3.02A executable, a 1985 program that included an editor and compiler. Claude produced an interactive annotated disassembly that looked convincing. An expert reviewer on Hacker News then found the annotations were partly fabricated, and Claude itself agreed. It is a clear example of AI confidently inventing details that look real to a casual reader.

Willison used Claude to decompile Turbo Pascal 3.02A, a freeware 39,731-byte executable from 1985, and ran a cross-check with Codex CLI and GPT-5.4 xhigh, which found no hallucinations. He published anyway, but Hacker News user rep_lodsb later showed roughly half the annotated assembly did not appear in the binary. Willison says the low stakes were why he shipped it; the risk is fabricated technical output that passes automated checks.

Willison prompted claude.ai to build a no-React artifact embedding the Turbo Pascal 3.02A binary with labeled segments and annotated disassembly. He cross-checked with Codex CLI (GPT-5.4 xhigh) on the downloaded intermediate files, which flagged nothing. Hacker News user rep_lodsb then identified fabricated code, such as a nonexistent 'mov al,0xe8' snippet and an invalid 'ret 1' in a syscall dispatcher. Claude's own re-review confirmed about half the binary's annotations were invented.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Turbo Pascal 3.02A Claude Codex CLI GPT-5.4 xhigh Pyodide Datasette

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading