macOS
brew install xalocal Homebrew formula metadata
sudo port install xaMacPorts ports tree · devel/xa/Portfile · source: api.github.com
brew
6502 cross assembler. Version 2.4.1 via Homebrew; verified from local package data.
install
brew install xalocal Homebrew formula metadata
sudo port install xaMacPorts ports tree · devel/xa/Portfile · source: api.github.com
sudo apk add xaAlpine Linux edge package indexes · xa · source: dl-cdn.alpinelinux.org
sudo apt install xa65Debian stable package indexes · xa65 · source: deb.debian.org
sudo dnf install xaFedora Rawhide package metadata · xa · source: dl.fedoraproject.org
nix profile install nixpkgs#xanixpkgs package indexes · pkgs/by-name/xa/xa/package.nix · source: api.github.com
sudo pacman -S xaArch Linux sync databases · xa · source: geo.mirror.pkgbuild.com
sudo zypper install xaopenSUSE Tumbleweed package metadata · xa · source: download.opensuse.org
overview
6502 cross assembler
history
xa, also known as xa65, is a 6502-family cross-assembler for Unix-like systems. It targets classic 6502-series processors, the Rockwell R65C02, and the 65816, and ships with companion tools for o65 objects and related 6502 development workflows.
Its appeal is old-school and practical: xa is small, portable, fast, and oriented toward cross-assembling retro-computing code on modern machines rather than assembling directly on a Commodore, Apple, Atari, or other 8-bit target.
The original xa package is credited to Andre Fachat for 1989-1997. Later changes are credited to Fachat, Jolse Maginnis, David Weinehall, and Cameron Kaiser, with Kaiser listed as the official maintainer in current manual pages.
Fachat's public mirror describes xa65 as originally authored by him and currently maintained by Cameron Kaiser at Floodgap. The repository also notes that xa65 runs on Unix and Unix-alikes, produces 6502 and 65816 code, and comes with a set of tools.
xa survived because the 6502 ecosystem stayed alive: Commodore 64, Apple II, Atari 8-bit, NES-adjacent, 65C02, and 65816 programmers kept needing a dependable cross-assembler on contemporary Unix-like systems. The manual's own 'Over 30 Years of Xa' note captures its unusual longevity.
The tool is distributed by multiple Unix-like package systems and is referenced in retro-computing circles because it is simple enough for small projects but has features expected by serious 8-bit work: segments, labels, listings, conditional assembly, a C-like preprocessor, o65 relocatable output, and companion tools such as ldo65 and reloc65.
Users write 6502-family assembly on a modern host, select options for CMOS 65C02 or 65816 opcodes, define include paths and macros, and emit either sequential binaries or o65 relocatable objects. The tool can also produce listings and label files for later inspection or disassembly.
xa is commonly used where exact addresses and binary layout matter: ROMs, monitor programs, demos, small operating systems, bootstraps, and retro-computing utilities. Its linking section documents both o65 object workflows through ldo65 and direct binary composition with explicit padding.
xa is one of those packages that signals a living retro toolchain rather than nostalgia alone. It is not a generic assembler; it is a long-maintained 6502 cross-assembler with enough compatibility switches and object tooling to fit real historical codebases.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
file65 | cli | global executable | |
ldo65 | cli | global executable | |
printcbm | cli | global executable | |
reloc65 | cli | global executable | |
uncpk | cli | global executable | |
xa | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://www.floodgap.com/retrotech/xa/
install metadata
| Package key | brew:xa |
|---|---|
| Version | 2.4.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/xa |
| Homepage | https://www.floodgap.com/retrotech/xa/ |
| Repository | https://github.com/fachat/xa65 |
| Upstream docs | https://www.floodgap.com/retrotech/xa |
| License | GPL-2.0-or-later |
| Source archive | https://www.floodgap.com/retrotech/xa/dists/xa-2.4.1.tar.gz |
| Bottle | available (on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | xa |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
xa65 2.4.1-0.1
cross-assembler and utility suite for 65xx/65816 processors
https://www.floodgap.com/retrotech/xa/
sudo apt install xa65xa
nix profile install nixpkgs#xaxa65 2.4.0-0.1
cross-assembler and utility suite for 65xx/65816 processors
https://www.floodgap.com/retrotech/xa/
sudo apt install xa65xa 2.4.1-r0
cross-assembler and utility suite for 65xx/65816 processors
https://www.floodgap.com/retrotech/xa
sudo apk add xaxa-doc 2.4.1-r0
cross-assembler and utility suite for 65xx/65816 processors (documentation)
https://www.floodgap.com/retrotech/xa
sudo apk add xa-docxa 2.4.1-5.fc44
6502/65816 cross-assembler
http://www.floodgap.com/retrotech/xa/
sudo dnf install xaxa 2.4.1-2
Cross-assembler for the 6502 microprocessor
https://www.floodgap.com/retrotech/xa
sudo pacman -S xaxa 2.4.1-1.4
High-speed, two-pass portable 6502 cross-assembler
https://www.floodgap.com/retrotech/xa/
sudo zypper install xaxa
sudo port install xasource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.