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.
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
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
Speculative Decoding Makes Tool Calls Faster. Agents Need a Cache.
Speed improvements in speculative decoding mean agents can execute tool calls faster, reducing latency for real-time applications.
OpenGame: turn your local coding agent into a full-stack game studio
Developers with a local coding agent can now scaffold full playable 3D games, art, music, testing, publishing, instead of only refactoring code, opening a path from hobby coding to shippable mini-games.
Let Claude Code or any agent tap, type, and read your real phone
Agents can now close the mobile testing gap by driving and reading a real phone themselves, with nothing installed on the device.