https://github.com/regular/acme-cross-as.js
acme multi-platform cross-assembler for the 6502 family of processors ported to JavaScript
https://github.com/regular/acme-cross-as.js
Last synced: 2 months ago
JSON representation
acme multi-platform cross-assembler for the 6502 family of processors ported to JavaScript
- Host: GitHub
- URL: https://github.com/regular/acme-cross-as.js
- Owner: regular
- Created: 2015-08-10T14:49:45.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-10T15:15:53.000Z (over 10 years ago)
- Last Synced: 2025-10-10T06:40:57.014Z (7 months ago)
- Language: C
- Size: 285 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# acme-cross-assembler.js
Write C64 assembler in your Browser! This is Acme, an 6502 assembler ported to JavaScript using emscripten.
_From [Acme's homepage](https://web.archive.org/web/20150520143433/https://www.esw-heim.tu-clausthal.de/~marco/smorbrod/acme/)_
> [ACME](https://web.archive.org/web/20150520143433/https://www.esw-heim.tu-clausthal.de/~marco/smorbrod/acme/) is a free crossassembler, released under the GNU General Public License. The current version can produce code for the 6502, 65c02 and 65816 processors. It also supports some of the undocumented ("illegal") opcodes of the 6502.
Acme was written by Marco Baye an is maintained by Krzysztof Dabrowski.
acme's source was taken from here:
https://www.mirrorservice.org/sites/ftp.cs.vu.nl/pub/minix/distfiles/backup/acme091src.tar.gz
## Install
npm i acme-cross-assembler
## Usage
var as = require('acme-cross-assembler');
var fs = require('fs');
var source = fs.readFileSync(__dirname + '/../acme091/examples/ddrv.a', 'utf8');
as(source, '--format', 'cbm', function(err, data, messages, parsedMessages) {
...
});
See tests for details.