Top
Best
New

Posted by indyjo 10/23/2025

How I stopped worrying and started loving the Assembly(medium.com)
196 points | 34 comments
MomsAVoxell 11/1/2025|
I have been continuously hacking on my first computer, received in a delicate cross-Nullabor operation in 1983, the lovely little Oric-1. It’s a 6502 ‘also-ran’ victim of the 80’s 8-bit computing war, but is still .. fascinatingly .. actively hosting new software, even today.

The retro scene is alive and well, and in many small ways, flourishing. Even the obscure platforms get new device peripherals designed for them - among other things in my retro corner, I have a remote controllable Amstrad CPC6128 with an M4 card, putting it on a network .. a couple of ZX Spectrum variants with so much storage attached, the ‘why not just put every single spectrum game on it, ever’ question just hangs in the ether .. and an original C64 and Commodore monitor rig, sitting at one end of the city waiting for a LoRa/meshtastic session, to set it up, so we can chat with the other Oric/ZX Spectrum/Amstrad/etc. systems all over the place.

Anyway, I just want to point out, there is a very thriving retro scene, so learning assembly and participating in it, in your own way, is a very stimulating hobby. Even if you are a master of all the current tooling, learning the tools of the ancients will make you appreciate just how much bloat we tolerate, needlessly.

In any case, its often surprising where 6502/z80-like systems turn up these days, too ..

TacticalCoder 11/1/2025|
[dead]
le-mark 11/1/2025||
This article is less about assembly programming and more a tour de force on retro game development for the Atari ST. The author talks about using inline assembler to optimize gfx and game rendering inner loops. Oh and the author ported Doom to the Atari ST.

Some people are drawn to assembly and that’s great. Me personally, after a course in undergrad studying MIPS assembly, I learned to appreciate what all the compiler does for us and moved on!

pjmlp 11/2/2025||
RISC processors, especially MIPS were not designed for hand written Assembly code.

While I have manually written code for Z80, 68000, x86, and MIPS, I never bothered with MIPS outside university project assignments.

cogman10 11/1/2025|||
I've always had a deep interest for it, but the more I learn about what and how compilers can do stuff, the more I'm like "Ok, better just let the compiler handle it".

It's truly wild how much a modern compiler can transform code. There are circumstances where a human can do better (mostly around SIMD optimizations) but those require you to be in situations where you doing operations on large arrays of numbers. Not extremely common in most programming (beyond maybe making totals. Which is a SIMD operation that compilers do well).

msephton 11/2/2025|||
Thanks for the summary. I was lucky enough to follow VoxelST and STDOOM on Twitter, yet skipped this thread on Hacker News because imho the title doesn't sell it well. Thankfully a friend and fellow ST nerd sent it to me. Can recommend revisiting the old social posts to read about this as it happened.
xgkickt 11/1/2025||
For me MIPS is the best ISA for “stream of consciousness” assembly, you can just write it then tidy up the register usage and pipelining after.
JKCalhoun 11/1/2025||
Ben Eater delves into 6502 assembly with regard to his bread-board 6502 computer. I recommend anyone interested in assembly do a search (on YouTube) for his series.

I got one of his kits and assembled it while working through his YouTube series.

(I didn't, at the time, continue very far into the assembly course, but perhaps will this Winter when I am hunkered down in the Midwaste with the blizzards beating down on my home.)

msephton 11/2/2025|
You might also try the Atari ST game Midwinter :)
nickcw 11/1/2025||
I had an Atari 1040 ST and I used to love programming it in 68000 assembler mostly using K-Seka. It really felt like programming a 32 bit CPU which was amazing after the 8 bit world that preceeded it. The instruction set was very orthogonal (other than the slightly odd split between A registers and D registers). When I graduated from 68000 assembly to ARM assembly it felt like a natural progression.

Probably my best project was a FORTH system. It used direct threading so each FORTH word was a proper assembly routine. It had primitive peephole optimization too! It was all written in 68000 assembler with K-Seka.

So if you want an assembler to learn, 68000 is a great choice. However you could learn 32 bit ARM which I came to prefer and that will still run on modern systems (at least if they have been compiled with 32 bit support or on the plentiful ARM microcontrollers).

whobre 11/1/2025||
Wonderful article! Programming 68000 assembly is a joy. People are quick to dismiss CISC instruction sets because they mostly encounter x64 with its baggage of legacy, but 68k is something else.
michaelcampbell 11/1/2025|
I remember reading Lance Levanthal's 68000 book and doing some toy exercises as my first kind of non-uni assy experience; then when I got to college some IBM 360. When I finally saw x86, omg what a nightmare.
brabel 11/1/2025||
Amazing work. I am the same age às the author and also would love to tinker with old hardware. This article taught me that I can do that with emulators all the while using modern developer tools! That’s very motivating, will see if I can get started. My first computer was a PC XT 386 IIRC, maybe I can do the same kind of thing on that.
Drakim 11/1/2025|
Emulators are wonderful, I got into assembly for the 6502 processor used in the NES (Nintendo Entertainment System) and it's been an absolute blast, there is something so inherently satisfying and almost zen-like in it.
jebarker 11/1/2025||
Great work - needed to read this today to pull me out of a state of modern software engineering induced malaise.
ngcc_hk 11/1/2025||
Still enjoying this assembly

https://news.ycombinator.com/item?id=45646958

I guess it would be nice to have a more entry level piece not just a more advanced stuff and a story. Still nice. But not that involved and getting into IT is more than involvement and interaction.

indyjo 10/23/2025||
Or why robots are playing DOOM now. What programming for the Atari ST in 2025 has taught me.
Agingcoder 11/1/2025|
Comanche ( or at least an approximation of it ) on an Atari ST - that’s quite a feat!
More comments...