Comparison of assemblers
Appearance
This is an incomplete comparison of assemblers. Some assemblers are components of a compiler system for a high-level programming language and may have limited or no usable functionality outside of the compiler system. Some assemblers are hosted on the target processor and operating system, while other assemblers (cross-assemblers) may run under an unrelated operating system or processor. For example, assemblers for embedded systems are not usually hosted on the target system since it would not have the storage and terminal I/O to permit entry of a program from a keyboard. An assembler may have a single target processor or may have options to support multiple processor types.
As part of a compiler suite
[edit]- GNU Assembler (GAS): GPL: many target instruction sets, including ARM architecture, Atmel AVR, x86, x86-64, Freescale 68HC11, Freescale v4e, Motorola 680x0, MIPS, PowerPC, IBM System z, TI MSP430, Zilog Z80.
- SDAS (fork of ASxxxx Cross Assemblers and part of the Small Device C Compiler project): GPL: several target instruction sets including Intel 8051, Zilog Z80, Freescale 68HC08, PIC microcontroller.
- The Amsterdam Compiler Kit (ACK) targets many architectures of the 1980s, including 6502, 6800, 680x0, ARM, x86, Zilog Z80 and Z8000.
- LLVM targets many platforms, however its main focus is not machine-dependent code generation; instead a more high-level typed assembly-like intermediate representation is used. Nevertheless for the most common targets the LLVM MC (machine code) project provides an assembler both as an integrated component of the compilers and as an external tool.
- Some other self-hosted native-targeted language implementations (like Go, Free Pascal, SBCL) have their own assemblers with multiple targets. They may be used for inline assembly inside the language, or even included as a library, but aren't always suitable for being used outside of their framework - no command-line tool exists, or only the intermediate representation can be used as their input, or the set of supported targets is very limited.
Single target assemblers
[edit]6502 assemblers
[edit]680x0 assemblers
[edit]Assembler | Developer | FOSS | License | Instruction set | Host platform | Development active |
---|---|---|---|---|---|---|
ASM-One Macro Assembler | Rune Gram-Madsen | No | Free | Motorola 680x0 | Commodore Amiga | No |
GAS | GNU Project | Yes | Free | Motorola 680x0 | various | Yes |
VASM | Volker Barthelmann, Frank Wille | No | Proprietary | Motorola 680x0 | various | Yes |
RMAC | James Hammons, George Nakos, Landon Dyer | Yes | Free | Motorola 680x0, MOS Technology 6502 | Linux, Windows, macOS | Yes |
ARM assemblers
[edit]Assembler | Developer | FOSS | License | Host platform | ARM64 |
---|---|---|---|---|---|
GAS | GNU Project | Yes | GNU GPL | various | Yes |
TCCASM | Fabrice Bellard | Yes | GNU LGPL | Unix-like, Windows | Yes |
VASM | Volker Barthelmann, Frank Wille | No | Free | various | No |
Mainframe Assemblers
[edit]POWER, PowerPC, and Power ISA assemblers
[edit]Assembler | Developer | FOSS | License | Instruction set | Host platform |
---|---|---|---|---|---|
GAS | GNU Project | Yes | GNU GPL | POWER, PowerPC 74xx, PowerPC 970 | All platforms supported by GNU Binutils |
IBM AIX assembler | IBM | No | Proprietary | POWER | IBM AIX |
VASM | Volker Barthelmann, Frank Wille | No | Free | POWER, 40x, 440, 460, 6xx, 7xx, 7xxx, 860, Book-E, e300 and e500 | various |
x86 assemblers
[edit]- ^ Part of the MINIX 3 source tree, but without obvious development activity.
- ^ Developed by Interactive Systems Corporation in 1986 when they ported UNIX System V to Intel iAPX286 and 80386 architectures. Archetypical of ATT syntax because it was used as a reference for GAS. Still used for The SCO Group's products, UnixWare and OpenServer.
- ^ Active, supported, but unadvertised.
- ^ Part of the C++Builder Tool Chain, but not sold as a stand-alone product, or marketed since the CodeGear spin-off; Borland was still selling it until then. Version 5.0, the last, is dated 1996.
- ^ Turbo Assembler was developed as Turbo Editasm by Uriah Barnett from Speedware Inc (Sacramento, CA) between 1984 and 1987, then later sold to, or marketed by, Borland as their Turbo Assembler.
- ^ Last stable version 1.3.0 was released in August 2014, and low maintenance since then: https://github.com/yasm/yasm
Z80 assemblers
[edit]Assembler | Developer | Host platform | FOSS | License | Development active |
---|---|---|---|---|---|
Microsoft MACRO-80 | Microsoft | CP/M, ISIS-II, TRSDOS, TEKDOS, MSX-DOS | No | Commercial | No |
Zeus Assembler | Crystal Computing | ZX Spectrum | No | Commercial | No |
z80asm | Peter Kollner, Paul Flo Williams, John Critchley, Bas Wijnen | Unix-like, Windows | Yes | GNU GPL | No |
sjasmplus | Sjoerd Mastijn, Aprisobal, Peter Helcmanovský, ... | Unix-like, Windows | Yes | BSD | Yes |
Rasm | Berge Edouard | Unix-like, Windows | Yes | MIT | Yes |
Other single target assemblers
[edit]Retargetable/cross-assemblers
[edit]Assembler | Developer | FOSS | License | Instruction set | Host platform |
---|---|---|---|---|---|
The Macroassembler AS | Alfred Arnold | Free | 29xxx, AVR, 65816, ACE, F2MC-8L, F2MC-16L, HMCS400, 6301, 6309, H8/300(H), H8/500, SH7000 / SH7600 / SH7700, HuC6280, PPC403GA, 4004/4040, 8008, MCS-48, MCS-41, MCS-51, MCS-251, MCS-96/196/296, 8080/8085, [ | Win32, DOS/DPMI, DOS (no longer maintained), OS/2 (no longer maintained), Linux | |
ASxxxx Cross Assemblers | Alan R. Baldwin | Yes | GNU GPL | 1802, S2650, SC/MP, MPS430, 6100, 61860, 6500, 6800(6802/6808), 6801(6803/HD6303), 6804, 6805, 68HC(S)08, 6809, 68HC11, 68HC(S)12, 68HC16, 740, 78K/0, 78K/0S, 8008, 8008S, 8048(8041/8022/8021), 8051, 8085(8080), AT89LP, 8X300(8X305), DS8XCXXX, AVR, EZ80, F2MC8L/FX, F8/3870, Game Boy(sm83), H8/3xx, Cypress PSoC(M8C), PIC, Rabbit 2000/3000, ST6, ST7, ST8, Z8, Z80(HD64180), and Z280 series | Win32, DOS, Linux, Android |
Notes and references
[edit]- ^ Modification of IBM's Assembler F
- ^ Xerox Corporation (1975). Xerox Assembly Program (AP) (PDF). Retrieved June 28, 2023.
- ^ The Yasm Modular Assembler Project