Hacker News new | ask | show | jobs
by unwind 3409 days ago
It's an assembler.

It's a tool that reads assembly-language source code (for an impressively large array of actual target CPUs), in various syntaxes.

It converts the text into the corresponding machine code bytes, while optionally applying various machine-specific optimizations (like making branches short when possible and so on).

It then emits the resulting bits in any of a bunch of handy executable file formats.

Very impressive, and just what I was looking for the other week to build some old Amiga code of mine. :)

1 comments

Thanks - this clarifies a lot.

I was confused with the "retargetable" part, which made me think about LLVM's backend compiler architecture.