xa

From Gentoo Wiki
Jump to:navigation Jump to:search

This article is a stub. Please help out by expanding it - how to get started.
This article has been flagged for not conforming to the wiki guidelines (missing lead-in sentences). Please help Gentoo out by starting fixing things.

xa is a high-speed, two-pass portable cross-assembler for the 6502 CPU with a C-like preprocessor. One of several popular 65xx assemblers, xa is written in C and released under the GPL-2. It has been in continuous development since 1989.

Other tools in the xa package are:

  • file65 — a tool for printing information about o65 object files.
  • ldo65 — a linker for o65 object files.
  • printcbm — a simple CBM BASIC detokenizer similar to the far more powerful petcat proviced by VICE.
  • reloc65 — a relocator for o65 object files.
  • uncpk — a c64 cpk archive manager.

While xa does not currently have a dissassembler as part of its suite, dxa is currently under development separately and will be merged into xa once it becomes stable.

Installation

Emerge

root #emerge --ask dev-embedded/xa

Usage

Invocation

user $xa --help

Removal

Unmerge

root #emerge --ask --depclean --verbose dev-embedded/xa

See also

  • VICE — the VersatIle Commodore Emulator for Commodore computers of the 8-bit era

External resources

  • cc65 — a powerful C cross compiler targeting most known 65xx-based computers.
  • 64tass — an expressive 6502 assembler with a TASM-like syntax.
  • Codebase64 — a wiki devoted to C64 development.
  • C64 Wiki — a wiki devoted the Commodore 64 more generally.