News for hackers. Stuff that matters.
Re:LLMs can read and write executables byte by byte from a h... by JKCalhoun on Saturday November 21, 2026 @09:27AM (#50589544)
An uninteresting case I am sure, but I have been leaning on LLMs to disassemble 6502 hex dumps and it's no doubt easy-lifting for them.

And the proof of course is that I can reassemble/link, with "modern" tools, their presented assembly and it combines right back into a hex dump mirroring the original.

Anyway, it's been a joy to take the long-out-of-print book, "The First Book of KIM", and re-typeset it (re-assemble it?) for modern hobbyists like myself. LLMs have allowed me to clean up the poor OCR-extracted text from the original. Claude has not only done that, but found missing labels and "equates" in the assembly, as legitimately printed in the book—not OCR errors.

Heck, Claude latched on to a bug in the classic "WUMPUS" game that apparently the author was not even aware of. (But I left that bug in for hobbyists to find—or exploit.)

Re:LLMs can read and write executables byte by byte from a h... by bananaboy on Saturday November 21, 2026 @04:57PM (#50594047)
You don’t need an LLM to disassemble code though especially for 6502. Disassembly has been a solved problem for decades.
Re:LLMs can read and write executables byte by byte from a h... by JKCalhoun on Sunday November 22, 2026 @01:10AM (#50596772)
Sure. It's practically a lookup table, right?

It's all the other stuff though—when your OCR is shit, for example. And then to add labels, equates, comments(!). Not bad.